Тёмный
No video :(

Tensorflow.js Explained 

Siraj Raval
Подписаться 770 тыс.
Просмотров 87 тыс.
50% 1

Tensorflow.js is Google's new Javascript verison of its popular Machine Learning library Tensorflow. This allows developers, hobbyists, and researchers to build & train AI models in the browser! It allows for both training and inference to happen entirely client-side, which means we can utilize our users GPUs (all types). This is really exciting, it opens up a whole new world of machine learning possibilities, especially for training on real-time data streams directly from our users. I'll explain the code behind an object detection app using the library in this video, as well as the different parts of the library.
Code for this video:
github.com/llS...
Please Subscribe! And like. And comment. That's what keeps me going.
Want more education? Connect with me here:
Twitter: / sirajraval
Facebook: / sirajology
instagram: / sirajraval
More learning resources:
• TensorFlow.js Quick Start
• Machine Learning in Ja...
github.com/ten...
js.tensorflow....
Thanks Michael Shi (author of tfjs-yolo-tiny) for the example code!
Join us in the Wizards Slack channel:
wizards.herokua...
Sign up for the next course at The School of AI:
www.theschool.ai
And please support me on Patreon:
www.patreon.co...
Signup for my newsletter for exciting updates in the field of AI:
goo.gl/FZzJ5w
Hit the Join button above to sign up to become a member of my channel for access to exclusive content! Join my AI community: chatgptschool.io/ Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available):
www.wagergpt.co

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 211   
@tomquareme3787
@tomquareme3787 6 лет назад
I really appreciate that you are talking on a slower, more humane tempo. In the past I had to pause the videos frequently or rewind certain parts, because my brains were overflooded with too much information in a small time frame. Now it's much more enjoyable to watch. Edit: I can also add that if people really want faster videos, they can just increase video speed. Slowing videos down comes with a lot of sound distortion. So it's better to make the videos on a normal tempo.
@commentmachine1457
@commentmachine1457 6 лет назад
damn, I am a sort-of data scientist in financial sector, but this channel updates me even more than I already know. Thumb up for the quality and effort.
@chaitanyayanamala845
@chaitanyayanamala845 6 лет назад
I don't understand all things in siraj videos, But still I don't want to miss his single video. For every video I learn something new. Thank you Siraj .
@johnvonhorn2942
@johnvonhorn2942 6 лет назад
Siraj is ripped and buffed. The dude clearly lifts. He's turned into the complete package.js
@sentinelaenow4576
@sentinelaenow4576 6 лет назад
MOAR TF.JAZZCRIPT !!! Because JS is overlord and can touch every corner of interwebzz because jazzcript is interwebzz itself, and now, artifitially intelligent enabled. Thank you very much Master Siraj. Profound respect.
@sevencostanza3883
@sevencostanza3883 6 лет назад
const siraj = 'The best tech guy on youtube.';
@MrJovan104
@MrJovan104 6 лет назад
Wow did Siraj start working out, look at his arms!
@hamzaelouakili2438
@hamzaelouakili2438 6 лет назад
I see JavaScript, I press the like button! :D
@deepaks.m.6709
@deepaks.m.6709 6 лет назад
Me too! :)
@myselfremade
@myselfremade 6 лет назад
I do the exact opposite XD
@technocracynow9339
@technocracynow9339 6 лет назад
Andrew Crews nah i don't like JavaScript but Siraj makes a good Video
@miguel1795
@miguel1795 5 лет назад
this thing has unlimited potential
@rahulnath9655
@rahulnath9655 6 лет назад
This is great. The notion of a tensor is also something useful in understanding interactions in quantum mechanics, such as using the tensor product. Thanks for putting the tensor in terms of vectors, Siraj, it was very helpful in providing a "deeper" understanding of deep learning.
@omri9325
@omri9325 6 лет назад
Siraj finally talking slow? What is happening?
@SirajRaval
@SirajRaval 6 лет назад
havent see you in a while!
@omri9325
@omri9325 6 лет назад
💓💓💓 Love your content man. keep it going.
@poorbahrdew
@poorbahrdew 6 лет назад
I appreciate it very much too, since I'm not a native speaker.
@ESLMiguel
@ESLMiguel 6 лет назад
Haha I thought I actually had the video slowed down. I was so confused.
@Donaldo
@Donaldo 6 лет назад
He is talking very strangely. Like he wants to make sure the transcription software gets his words right. I keep zoning out and having to relisten to portions because it's so distracting... and the sound effects accompaniment of on-screen elements appearing and such? Massive distraction. Pleass fix siraj...
@rhpmpp
@rhpmpp 6 лет назад
Epic. Thanks Google
@rylaczero3740
@rylaczero3740 6 лет назад
joe Google andhbakht bc
@saurabhcharde3369
@saurabhcharde3369 6 лет назад
Siraj your videos have the best illustrations. Love watching them.
@MyAsroma95
@MyAsroma95 6 лет назад
It's the first time I discover a Machine Learning technology before your video on it! Jokes aside, great video as usual, you are a ML guru!
@AmitChoudhary-xj5ox
@AmitChoudhary-xj5ox 6 лет назад
Very Nice Video..Thanks Bhai..aise hi karte rho...6 star video out of 5 :)
@kostas_x
@kostas_x 6 лет назад
Wow, this video opens a new world of possibity!
@sabrishgopalakrishnan5156
@sabrishgopalakrishnan5156 6 лет назад
finally tensorflow comes to js
@dogood8661
@dogood8661 6 лет назад
One day I will understand Machine Learning
@delcambrem
@delcambrem 6 лет назад
I don’t agree with the criticism that his speech seems weird. I think this presentation is excellent.
@chamisoufiane1054
@chamisoufiane1054 6 лет назад
Keep it going Man !
@IamMclov1n25
@IamMclov1n25 6 лет назад
Im more of a software developer but stay subbed to ur channel because I'm interested in ai/ml. Solid upload do u plan on making more js videos/tuts, it would be much appreciated.
@jyothishkumar3098
@jyothishkumar3098 6 лет назад
Smartphone GPUs? So can we develop models in smartphone browser?.. Anyway's the GPU sharing is so useful. My PC could only train at least slowly only when I shut down the GUI and switched to a tty, and even the training would take 3 days in that state. This looks good
@zaidalyafey
@zaidalyafey 6 лет назад
Yes !!
@empiricistsacademy7181
@empiricistsacademy7181 6 лет назад
I was expecting a coding challenge in tensorflow.js. Awesome video.
@matrixzoo8434
@matrixzoo8434 6 лет назад
FUCK YEAH! it's javascript time!
@MarshalHayes
@MarshalHayes 6 лет назад
Great video, Siraj! (as always)
@kajatta_
@kajatta_ 6 лет назад
Best video yet, nice work mate!
@tristangruener9571
@tristangruener9571 6 лет назад
Siraj thank you for all the amazing high quality content!
@braxtonyoung
@braxtonyoung 6 лет назад
You are doing god's work!
@techfirsttamil
@techfirsttamil 6 лет назад
Thanks a lot SIraj:) I am waiting for your video on this library.Thanks again
@spacewad8745
@spacewad8745 6 лет назад
I am a simple man. I see JavaScript I hit like.
@illused
@illused 5 лет назад
Half life 😉
@MrJohn360
@MrJohn360 5 лет назад
Hey, Siraj. Thanks for your content.
@carlossegura889
@carlossegura889 6 лет назад
I love me some javaScript
@freddiepage6162
@freddiepage6162 6 лет назад
Fantastic! Great news, great vid.
@Glueckspilz6267
@Glueckspilz6267 6 лет назад
Im Excited👌. Nice Video. Ty!
@mattt2684
@mattt2684 6 лет назад
I'm scared... JS is slowly taking over!
@Edkahmed
@Edkahmed 6 лет назад
Python Ftw
@planktonfun1
@planktonfun1 6 лет назад
Matt T accessibility is a demand
@frankbraker
@frankbraker 6 лет назад
Make Javascript great again!!!!
@wakeatmethree4023
@wakeatmethree4023 6 лет назад
This is a really really good vid, thanks siraj!
@raf.nogueira
@raf.nogueira 6 лет назад
Where I live I can't even find a job as a android developer imagine even a data scientist haha, I watch this videos with so much love, but also with big depression. :/ , If could even find a job just for feed, for while I study machine learning...
@rutulpatel9433
@rutulpatel9433 6 лет назад
I was waiting for this video
@difeng8321
@difeng8321 6 лет назад
always motivated people! thanks!
@joe564338
@joe564338 6 лет назад
The timing of this video is impeccable lol. Currently working on a nodejs chatbot and npm install is easy: npm i @tensorflow/tfjs lol
@keffbarn
@keffbarn 6 лет назад
Just be aware that performance is a lot worse on node.js atm. Uses cpu and not gpu.
@joe564338
@joe564338 6 лет назад
thx will keep in mind
@Roy_369
@Roy_369 6 лет назад
Great video. Can you talk about how we would decide the dimensions of tensors and the trade-offs? Thanks
@dynamicgecko1213
@dynamicgecko1213 6 лет назад
Q1: We can train the model on user data and get to keep the new parameters, right? Q2: Is YOLO in tensorflow as a built-in model?
@zaidalyafey
@zaidalyafey 6 лет назад
There is a converter tool that allows you to convert keras amd tf models to tf.js . I think in this video the model is converted from keras.
@pkarora1000
@pkarora1000 6 лет назад
Also take a look at dark flow
@diamondguy3651
@diamondguy3651 6 лет назад
Thanks so much for the great explanation, this really helped.
@junkseed
@junkseed 6 лет назад
Awesome Siraj!
@csfi3979
@csfi3979 6 лет назад
"We need to perform operations on them for this to be machine learning SLASH for us to be cool" LoL
@MBehtemam
@MBehtemam 6 лет назад
Amazing . Learn a llt of new things
@joshua_v_thomas
@joshua_v_thomas 4 года назад
Js is already great
@manashejmadi
@manashejmadi 6 лет назад
who else thought that the thumbnail looked like a CPU Dye?
@kishanvaghasia4059
@kishanvaghasia4059 6 лет назад
One suggestion... For beginners it is hard bro.. explain it by giving an example .. you are going like lvl at starting of video and then suddenly extreme lvl (we don't understand 😌)..
@alexf4v2
@alexf4v2 6 лет назад
Hello Wizards, now that we can train our models in the clients browsers with their data, how do we take those trained models back and merge them into a single model?
@dem1yurma
@dem1yurma 6 лет назад
Hey Siraj! Which GPU do you use? Your demo runs so much smoother than mine
@EctoMorpheus
@EctoMorpheus 6 лет назад
demcke most likely an expensive one seeing the kind of work he does
@arpanmukherjee6031
@arpanmukherjee6031 6 лет назад
*Sir , I'm very interested in AI . I'm new to your channel (I'm loving it) .. can you guide where to start ? I just passed high school and am good in Mathematics reqd*
@SebastianMantey
@SebastianMantey 6 лет назад
He recently did a video called “Learn Machine Learning in 3 Months”. Maybe, that’s of interest to you. Here is the link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Cr6VqTRO1v0.html
@GameCarpenter
@GameCarpenter 6 лет назад
My first thought was that it sounded like a neural network was producing the audio for you =P. Were you reading off a script or something? It sounded quite disjointed. If you _are_ after better automatic subtitles, perhaps you can train a neural network in tensorflow to subtitle your voice specifically from samples you provide =]
@sachinahuja3894
@sachinahuja3894 6 лет назад
make a video tutorial on how to make custom model for image classification and training your own model for testing
@999NRG
@999NRG 6 лет назад
My man
@dineshpabbi7005
@dineshpabbi7005 6 лет назад
Dude , how did you learn so much the field of data science?? I am eager to get into this field , do a masters in the same field but i still want to learn more while i complete my graduation
@manuelfelipegarciarincon3262
@manuelfelipegarciarincon3262 6 лет назад
Amazing
@thomasrossimel743
@thomasrossimel743 6 лет назад
ok that's the right speed, thanks!
@illused
@illused 5 лет назад
That's a cool demo. Any chance of a download so I can play with it? I don't even know how to get my Webcam, let alone manipulate the content...
@varunsharma8227
@varunsharma8227 6 лет назад
Hi Siraj, Can you please do a video on Anomaly detection in time-series data.
@Geisterhebel
@Geisterhebel 6 лет назад
Awesome!
@popertots
@popertots 5 лет назад
Genuinely struggling to find any mention of support for non Nvidia GPUs anywhere except this video, and can't get it working on AMD or intel myself. Any ideas on how to do it, or was this just incorrectly stated?
@diegoantoniorosariopalomin4977
Now that vulkan is available on all platforms , the next web api should be based on it
@diegoantoniorosariopalomin4977
There are also plans to use it as a replacement for opencl ( rasterization will be made an extension in vulkan )
@diegoantoniorosariopalomin4977
Which means that if deep learning frameworks supported it , the need to support other apis would be extremely low
@final378
@final378 6 лет назад
this is so cool
@PierreLaBaguette
@PierreLaBaguette 6 лет назад
someone can elaborate more or throw couple of article/video links on those possible real world uses cases of T.js?
@koforeverk2
@koforeverk2 6 лет назад
Anyone know if it possible to predict the next game inputs based on previous inputs using tensorflow ??
@saravanabalagi
@saravanabalagi 6 лет назад
Did you generate your voice using one of the LSTM models that it feels like each word is pronounced so sharp individually and finally appended into one sentence...?
@FarCuck
@FarCuck 6 лет назад
Love it!
@divyanshu30gupta
@divyanshu30gupta 6 лет назад
In this video it seems as if Siraj used the AI model which when fed the script would speak in Siraj's voice (if someone remembers that video where we can train a model to learn our style of voice and it would then be able to speak in our own style)
@wolfisraging
@wolfisraging 6 лет назад
Hey sir, also checkout the tensorlayer library
@ramshetty1671
@ramshetty1671 6 лет назад
what we need to learn to create an ai like jarvis ....?is it really possible to create jarvis...?
@rajlala6872
@rajlala6872 6 лет назад
Need a help , I am buying a laptop , and thinking about practicing ML on it , which one would be the best.
@iAmTheSquidThing
@iAmTheSquidThing 6 лет назад
So how come the JS version can use the GPU on any machine? When the Python version requires an Nvidia GPU?
@deepaks.m.6709
@deepaks.m.6709 6 лет назад
Waiting for your *ML* in *JavaScript* videos :D
@br1900s
@br1900s 6 лет назад
Cool video as always. I must say though, u seemed a little off in this one. Hopefully u don’t have too many tensors and not enough solutions.
@sunnybeta_
@sunnybeta_ 6 лет назад
yay !!!! finally :D
@themonkeyminds7252
@themonkeyminds7252 6 лет назад
Thank you sir !! Keep it up !!! Have you heard news in India what happening !! What do u think about that ?
@diegoantoniorosariopalomin4977
You should talk about plaid ml , the first framework to give a shit about cross vendor gpu acceleration and achieve it
@diegoantoniorosariopalomin4977
Which keras supports , so it can benefit from that
@javierfuentes3603
@javierfuentes3603 6 лет назад
... Instead of fixing the high level library of regular tensorflow, and adding support for opencl btw.
@slightlygruff
@slightlygruff 6 лет назад
That might finally change things in ML
@pandarzzz
@pandarzzz 6 лет назад
Thank you for sharing this informative video! 🐰🖐🏾
@tejas8211
@tejas8211 6 лет назад
so it basically is tensorflow for web developers
@chrischappell7643
@chrischappell7643 6 лет назад
great video, one question: can i become to u by watching two of your video at same time with 2x speed , kkk , that is meme i got from your fb timeline , LMAO . Again, thk a lot about your work :D
@daniellin2048
@daniellin2048 6 лет назад
Please make a video of Swift for Tensorflow!!
@ego_sum_liberi
@ego_sum_liberi 6 лет назад
I do not think that is ever going to happen...You can use coreml to convert your keras/theano/scikit....models and then use swift (xcode ) to built your app...
@EctoMorpheus
@EctoMorpheus 6 лет назад
Why does this js version support all GPUs but does the python version not even work with my AMD Radeon card? I might have to switch to js now just to get a performance boost
@gazorbpazorbian
@gazorbpazorbian 6 лет назад
DUDEE! you are on fireeeee! keep it up! btw, i'm confused, how can I get access to the school of AI?
@sachinahuja3894
@sachinahuja3894 6 лет назад
you are going good but when i am running your code download from github based on tensorflow_neural_net_live_demo-master repository after running showing some error on my terminal.
@vcothur7
@vcothur7 6 лет назад
Is there some kind of message embedded in the video? I see some flashing lines at a regular interval of time. 7:32
@FlanMan97
@FlanMan97 6 лет назад
I noticed this as well... a challenge maybe?
@vcothur7
@vcothur7 6 лет назад
It looks a lot like morse code
@rylaczero3740
@rylaczero3740 6 лет назад
@Siraj Have you recently added 3 private videos?
@nichevo
@nichevo 6 лет назад
Why did you upload video with green lines in it? It looks like my videocard is broken, I even tested this by lowering video quality
@kalebbruwer
@kalebbruwer 6 лет назад
I want to kearn tensorflow (for python) but I'm not getting anywhere. I've tried the official tutorials and others, but nothing ever works like in the tutorial. I get errors that I can't even find on stack overflow. I get errors where the solutions don't work and even the tf examples won't work! Can someone point my in the right direction? I probably have a dependancy problem, but I think the tutorials I'm trying to follow are outdated as well.
@sanheensethi8344
@sanheensethi8344 6 лет назад
So , Should i learn Js Or Python for ML ? cause i'm in Python Btw Thanka Siraj for explaining , and Also Google..
@keffbarn
@keffbarn 6 лет назад
Most research implementations are done with python so I would pick that for ML.
@zaidalyafey
@zaidalyafey 6 лет назад
This is just the start. Training on the browser is unstable and very slow.
@EctoMorpheus
@EctoMorpheus 6 лет назад
zaid Alyafeai slow training on my GPU should still be faster than fast training on my CPU though. My GPU is not supported by the python version of tensorflow, so then js might be worth it
@sanheensethi8344
@sanheensethi8344 6 лет назад
Thanks Guys !
@planktonfun1
@planktonfun1 6 лет назад
This was from January called brain.js
@ec2ainun
@ec2ainun 6 лет назад
Why there is no Challenge about this tfjs siraj?
@robinreni3538
@robinreni3538 6 лет назад
What about the user having CPU, not GPU's? Because the majority of user laptops are CPU enabled and how real-time training happens in their system without any ease?
@keffbarn
@keffbarn 6 лет назад
Almost every device has a gpu nowadays. If it's not a dedicated graphics card it's usually built into the cpu or motherboard.
@robinreni3538
@robinreni3538 6 лет назад
But it takes time to reach out the normal user I guess
@Ruhgtfo
@Ruhgtfo 3 года назад
Does it behave just like Python?
@poopipeboy3033
@poopipeboy3033 6 лет назад
"And it doesn't have to be an Nvidia GPU" Surely hell has frozen over......can I actually take my AMD cards off the display shelf and use them now?
@EctoMorpheus
@EctoMorpheus 6 лет назад
PooPipeBoy want to know this as well, would definitely be a reason to switch from python to js
@poopipeboy3033
@poopipeboy3033 6 лет назад
They weren't lying, it runs just fine on an Intel iGPU (and therefore everything else). This is super cool because even 5 year old AMD cards still offer very good compute performance.
@shafigh6916
@shafigh6916 6 лет назад
i cant see any result , when I load that html file in my browser, any hints?
@carpioerwinjohnt
@carpioerwinjohnt 6 лет назад
I tried the emoji scavenger hunt tensorflow.js example on my android 5.0 running an updated chrome, it wouldn not work, my friend on an iphoneC saphari tried it and it would not work. But another tried it on an iphone SE and that worked. Is there a list of devices supporting tensorflow.js? (like a caniuse tensorflow.js site?) Thanks. Amazing vid! A always.
@zaidalyafey
@zaidalyafey 6 лет назад
I think they have some bugs on safari. It should work on Chrome.
Далее
Webcam Tracking with Tensorflow.js
22:04
Просмотров 96 тыс.
CUDA Explained - Why Deep Learning uses GPUs
13:33
Просмотров 235 тыс.
Can You Bend This Bar?
01:00
Просмотров 5 млн
журавли в пятницу
00:14
Просмотров 87 тыс.
Concerning the Stranded Astronauts
13:27
Просмотров 454 тыс.
Why Democracy Is Mathematically Impossible
23:34
Просмотров 2,3 млн
When RESTful architecture isn't enough...
21:02
Просмотров 273 тыс.
TensorFlow.js Quick Start
11:17
Просмотров 308 тыс.