How to run any Tensorflow model on a browser with Tensorflow.js Easy!

Описание к видео How to run any Tensorflow model on a browser with Tensorflow.js Easy!

#tensorflow #tensorflowjs #javascript

In this video, I will show you how you can convert an existing Tensorflow model to Tensorflow.js so that you can run it on any computer with a browser. I use the Fast Style Transfer model which I showcased in my Fast Style Transfer series.

Tensorflow.js is a client-side framework designed to enable training and inference with a machine-learning directly from the browser, using Javascript.

With Tensorflow.js we can:
1) Run pre-trained models, originally developed for Tensorflow directly from the browser. Tensorflow.js provides a command-line tool to convert almost any existing pre-trained model.
Train new or pre-existing models with Transfer Learning using our own data with a Javascript API.
2)Tensorflow.js can also run from a Node.js backend

✅ Recommended Courses
(Includes Amazon Affiliate Links)
==================================
⭐ Python for Everybody 👉🏼 https://coursera.pxf.io/mgJKke
⭐ Machine Learning Specialization with Andrew Ng 👉🏼 https://imp.i384100.net/KemLOy
⭐ Learn Data Science with Coursera Plus 👉🏼 https://imp.i384100.net/c/3326428/132...

✅ Recommended Playlists
==================================
#️⃣ Wildlife Detection with the Raspberry PI 👉🏼    • Machine Learning Project - Creating I...  
#️⃣ Tensorflow Style Transfer Tutorial and Examples 👉    • Tensorflow Style Transfer Tutorial an...  
#️⃣ 3D Deep Learning 👉🏼    • 3D Deep Learning  
#️⃣ Creating a 3D model of a Photo using Python and Numpy 👉🏼    • Creating a 3D model of a Photo using ...  
#️⃣ Python Problems for Beginners 👉🏼    • Python Problems for Beginners  
#️⃣ Blender Python API 👉🏼    • Blender Python API  

✅ My Favorite Tech
(Includes Amazon Affiliate Links)
==================================
💻 Ryzen 5950 and RTX 3090 PC for Gaming And ML 👉🏼 https://amzn.to/3Pz5saF
🖥 Gigabyte RTX 3090 Ti 👉🏼 https://amzn.to/3cxKN8l
🖥 Gigabyte RTX 3080 Ti 👉🏼 https://amzn.to/3BeRZjX
🖥 Gigabyte RTX 3070 Ti 👉🏼 https://amzn.to/3z3ZpUC
🖥 Gigabyte RTX 3060 👉🏼 https://amzn.to/3BmEpLk
👨🏼‍💻 M2 Macbook Pro 8GB 👉🏼 https://amzn.to/3OwPKve
👨🏼‍💻 M2 Macbook Air 8GB 👉🏼 https://amzn.to/3PNA7Ri
📟 Raspberry PI 👉 🏼https://amzn.to/3z4wKyP
📟 Raspberry Pi HQ Camera 👉🏼 https://amzn.to/3BirRVo
🖲 Web Camera 👉🏼 https://amzn.to/3v8inIs
📸 My Camera of Choice 👉🏼 https://amzn.to/3BinAkO
🖥 My Monitor of Choice 👉🏼 https://amzn.to/3z6GQ1U
🏢 Standing Desk 👉🏼 https://amzn.to/3Be5ssg
📗 Deep Learning Must Read 👉🏼 https://amzn.to/3OvbCHI

✅ My RTX 3070 and Ryzen 5900 Machine Learning PC Build
(Includes Amazon Affiliate Links)
=======================================================
#️⃣ Watch My First Deep Learning PC Build 👉🏼    • My first Deep learning PC Build and S...  
#️⃣ AMD Ryzen 5900X CPU 👉🏼 https://amzn.to/3z6K9Gm
#️⃣ Gigabyte GeForce RTX 3070 EAGLE OC 8GB Graphics Card 👉🏼 https://amzn.to/3BeWTgM
#️⃣ ASUS ROG Strix X570-E Gaming ATX Motherboard, AMD Socket AM4 👉🏼 https://amzn.to/3PNEJXC
#️⃣ Corsair iCUE H150i PRO XT RGB Liquid CPU Cooler (360mm) 👉🏼 https://amzn.to/3b3w44w
#️⃣ Samsung Nvme 980 pro 2tb 👉🏼 https://amzn.to/3zwYpKd
#️⃣ Crucial Solid State Drive 1TB 👉🏼 https://amzn.to/3J3tBUz
#️⃣ PC Case - Phanteks Eclipse P600S 👉🏼 https://amzn.to/3Pw34BB
#️⃣ Memory - Corsair Vengeance RGB Pro 32GB (2x16GB) DDR4 3600- Black 👉🏼 https://amzn.to/3owSSwA
#️⃣ Power Supply - CORSAIR CX750F RGB - 750 Watt, Fully Modular 👉🏼 https://amzn.to/3ophd7E

✅ MY EQUIPMENT FOR YOUTUBE
(Includes Amazon Affiliate Links)
==================================
📸 Sony Vlog Camera ZV1 👉🏼 https://amzn.to/3BinAkO
🎤 Rode Wireless GO 👉🏼 https://amzn.to/3PNA7AQ
🎤 Sennheiser Mke 400 Mic 👉🏼 https://amzn.to/3aYxvBv
💡 Neewer 3 Packs 530 RGB Led Light 👉🏼 https://amzn.to/3J20wZn
🏢 Manfrotto Variable Friction Arm with Bracket, Super Clamp 👉🏼https://amzn.to/3IZILdr

As an Amazon Associate, I earn a small commission from qualifying purchases on the amazon links above.

✅ ARTICLE

https://spltech.co.uk/a-tutorial-on-h...

✅ BUSINESS ENQUIRIES

[email protected]

✅ SUPPORT ME

  / codemental  


✅ TIMESTAMPS

0:00 Introduction
0:41 What is TF.JS
1:32 Why TF.JS
2:16 Trying the Fast Style Transfer Model
4:52 How to convert TF Model from TF Hub to TF.js using tensorflowjs_converter
6:49 Download TF.js model from Google Colab
9:00 Creating HTML page which includes Tensorflow.js v3
9:46 Starting an Nginx server with docker to serve the Tensorflow.js model
11:19 Validating that the Tensorflow.js is properly loaded
12:26 Loading Tensorflow.js Fast Style Transfer ModelModel
14:16 Loading sample images for style transfer
17:06 Writing the code to call the model
22:05 Calling the Fast Style Transfer model for the first time
32:36 Putting it all together

Комментарии

Информация по комментариям в разработке