Tutorial: How to use raw tensorFlow.js pre-trained models in browser
HTML-код
- Опубликовано: 1 окт 2024
- Another way to use pre-made Web ML models Is simply just the raw trained model itself, with no JavaScript class wrapped around it that typically hides the inner workings, to make it easier to use for beginners. In this lesson you will learn to write the code to send data into the raw model, and then extract data from it yourself, using Tensors that you just learnt about in the prior lesson.
Individuals or researchers may share their raw models like this, which can be very useful for finding and using examples that may still be in development, or using models that solve less common problems, where an example may exist,
but does not have full documentation. Learn how to use raw pre-trained models from layers models to graph based models from any site including TensorFlow Hub - Google's model garden.
Catch more episodes from Machine Learning for Web Developers (Web ML) → goo.gle/learn-...
Check out TensorFlow on RUclips → goo.gle/Tensor...
Subscribe to Google Developers → goo.gle/develo...
Connect with Jason Mayes to ask questions:
LinkedIn → goo.gle/3GwgeLw
Twitter →goo.gle/3Xh6MT7
Discord →goo.gle/3WWVO5t
Use #WebML to share your learnings and creations from this course to meet your peers on social media!
See what others have already made with Web ML → goo.gle/made-wi...
Catch more episodes from Machine Learning for Web Developers (Web ML) → goo.gle/learn-WebML
Model's URL gives me "access denied"
@@mendyedri2037 same problem here
It would be helpful if we had the url's for project source code and tf models, rather than having to manually copy links from the video. Like, seriously...
where do you copy the link from storage googleapis?
This is the best tutorial I have ever seen. You did amazing job. I thank you
Awesome & nice explanation!!!!!with live code session..
This is an awesome tutorial!
The link to get model give me 'acess denied' how i can get this model?
I am running my reactjs app on localhost and passing model.json file path to load model
I got error console .
Load local model not allowed
I get a 404 for the given model path.
PLease note that case is important = URL must be copied exactly
Okay, perhaps I'm dim, but I can't find how you've run script.js on Glitch. Is it really sufficient to preview index.html to start up the loadModel() function?
script.js is included as a script import in the index.html file
informative
how can we use it in angular applications on GCP
How to access the code base ?
So all final examples are published on TensorFlowJS glitch page
6:37
Where is the code to copy?
See TensorFlow JS glitch page for full code examples