TensorFlow.js Quick Start

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • Get started with TensorFlow.js by building a digit recognizer from scratch in this quick start tutorial angularfirebas...
    TF.js docs - js.tensorflow.org
    Machine Learning Crash Course - developers.goo...
    Kaggle - www.kaggle.com...
    MNIST - ml4a.github.io...

ความคิดเห็น • 173

  • @Fireship
    @Fireship  6 ปีที่แล้ว +99

    Welcoming TensorFlow to the web - tons of potential for web developers with this library. Let me know if you want to see more TensorFlow.js content in the comments.

    • @kirangouds
      @kirangouds 6 ปีที่แล้ว +3

      Yes of course, I am really excited

    • @AmalShehu
      @AmalShehu 6 ปีที่แล้ว +1

      Amazing stuff guys.

    • @alex-karpov-dev
      @alex-karpov-dev 6 ปีที่แล้ว +1

      Awesome, continue!!

    • @RobertRobinson777
      @RobertRobinson777 6 ปีที่แล้ว +1

      Yes we need with more real time example

    • @zenhsuld
      @zenhsuld 6 ปีที่แล้ว +1

      yes... we need more tutorial. thank you

  • @bpaultas3167
    @bpaultas3167 6 ปีที่แล้ว +61

    0:22 most educational part of the video, i learned how to write 4 in 1 stroke

  • @mwh6246
    @mwh6246 6 ปีที่แล้ว +21

    Should absolutely do more tensorflow videos, very cool stuff.

  • @SteelGamePad
    @SteelGamePad 6 ปีที่แล้ว +39

    thank you, we need more of TensorFlow.js

    • @Fireship
      @Fireship  6 ปีที่แล้ว +11

      Cool, happy to make more advanced TFjs content. Let me know if you have anything specific you want to see.

    • @SteelGamePad
      @SteelGamePad 6 ปีที่แล้ว +2

      Angular Firebase for example a chatbot with tenserflow.js

    • @olanrewajusule-balogun612
      @olanrewajusule-balogun612 6 ปีที่แล้ว

      could you help build with a credit card fraud detection with tensorflow.js ? plssssssssssssssssssssssssssssssssssssssssss

    • @shotgun3628
      @shotgun3628 4 ปีที่แล้ว

      @@SteelGamePad i know this comment is 2 years old, but i really want to see this happen, TFjs has a minuscule amount of documentation and guidance for TFjs and RNNs

  • @razakadam74
    @razakadam74 6 ปีที่แล้ว +131

    "But be careful, data science competitions can be very very addicting"😂😂😂

  • @casinarro
    @casinarro ปีที่แล้ว +3

    THIS VIDEO IS SO DIFFERENT AND somewhat nice than the fast paced videos you make today

  • @vicradon
    @vicradon 2 ปีที่แล้ว +2

    This video is still as good as gold even after 4 years.

  • @patrickmullot73
    @patrickmullot73 6 ปีที่แล้ว +3

    Awesome! I've been watching videos/tuts on TensorFlow all day! So, Perfect Timing!

    • @Fireship
      @Fireship  6 ปีที่แล้ว +1

      Sweet! The tf.Sequential API is especially cool because it's similar to Keras - my all time favorite Python package.

  • @MrLuc420
    @MrLuc420 6 ปีที่แล้ว +14

    This was really interesting. Would love to see more tensorflow.

  • @kirangouds
    @kirangouds 6 ปีที่แล้ว +8

    I just saw the keynote and here you are with a tutorial. You are really awesome.

    • @Fireship
      @Fireship  6 ปีที่แล้ว +2

      +Kiran Nice, looks like there were a lot of interesting talks I still need to watch.

  • @safffom
    @safffom 4 ปีที่แล้ว +7

    haha i love how politly you pointed out "because you're MOST likely a human being.."

  • @IgalaMan2010
    @IgalaMan2010 6 ปีที่แล้ว +2

    I am so super excited because i have been looking forward to tensorflow.js. Thanks for your vid.

    • @Fireship
      @Fireship  6 ปีที่แล้ว

      Glad to hear that. It's going to spark some really cool web apps in the near future.

  • @heinrichvanheerden1528
    @heinrichvanheerden1528 6 ปีที่แล้ว +8

    This just made my year. Please do more ML-focused videos. And thanks for all the Angular videos so far.

    • @Fireship
      @Fireship  6 ปีที่แล้ว +3

      Thank you. Will do!

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 3 ปีที่แล้ว

    Jeff is my favourite tech youtuber!

  • @JoeWong81
    @JoeWong81 6 ปีที่แล้ว +1

    That was a great intro vid!!! TFJS is very exciting as JS is the language of the web!

  • @antonkurtin
    @antonkurtin 2 ปีที่แล้ว

    this is the only useful tutorial on whole youtube

  • @barakatosalon
    @barakatosalon 6 ปีที่แล้ว +1

    Great tutorial !!! Please add more stuff for beginning to learn how to implement Neuronal Networks solutions

  • @SondreSrbye
    @SondreSrbye 6 ปีที่แล้ว +11

    More tensorflow.js 🙏

  • @SketchStack
    @SketchStack 6 ปีที่แล้ว

    Awesome. Need more ML video like this with js and angular

    • @Fireship
      @Fireship  6 ปีที่แล้ว +2

      I agree, I have some pretty interesting ideas for browser-based ML.

    • @SketchStack
      @SketchStack 6 ปีที่แล้ว

      Thanks. Your tutorial is very good. I follow all you video and blog. I am a js developer from India. Carry on your best work. 😊👍

  • @princecanuma
    @princecanuma 6 ปีที่แล้ว +1

    I would love to see more of tensorflow.js

  • @hamedpro_experiments
    @hamedpro_experiments ปีที่แล้ว

    keep going bro your videos are awesome

  • @loki6841
    @loki6841 6 ปีที่แล้ว +1

    I am so happy right now I can't even tell

  • @EragonShadeslayer
    @EragonShadeslayer 2 ปีที่แล้ว

    1:45 “As you’re most likely a human being”
    Oh no he got me

  • @kunalr_ai
    @kunalr_ai 6 ปีที่แล้ว +2

    More content on tensorflow

  • @carpfishprodcuts
    @carpfishprodcuts 6 ปีที่แล้ว +1

    more with tensorflow.js please !

  • @rajayogan8884
    @rajayogan8884 6 ปีที่แล้ว +8

    Linear regression is supervised learning right..? So that trained sequential model comes with tensorflow or did you import that from keras as well..? (Btw, never knew you were crushing it in kaggle before entering the firebase space.. This was a great vid.. From the way you narrated, seems like you are delighted about this tensorflow.js and the whole new world of possibilities it provides right in the browser.. :) :) )

    • @Fireship
      @Fireship  6 ปีที่แล้ว +2

      Thanks Raja! Yes, when you have labeled data it's supervised learning. The Sequential model was not pre-trained, I trained it in the browser by calling.fit(), but doing a linear regression with TF is overkill.

  • @warrior4hinduism274
    @warrior4hinduism274 6 ปีที่แล้ว

    I need to start wayyyyy before this.. Lol.. Nice video.. I'll be reaching this level shortly..

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 ปีที่แล้ว

    Thanks for this amazing video!

  • @reddyashok9
    @reddyashok9 6 ปีที่แล้ว +2

    Thank You for Great video....

  • @rahulvanmali1406
    @rahulvanmali1406 6 ปีที่แล้ว +2

    Well how much mathematics I need to get started with machine learning and deep learning!
    And thanks for such a great content!

    • @Fireship
      @Fireship  6 ปีที่แล้ว +11

      Just have a high-level understanding of liner algebra for matrix multiplication and calculus for gradient descent.

  • @bensonmwaura9494
    @bensonmwaura9494 6 ปีที่แล้ว

    True: Tons of potential indeed!

  • @taranrishith
    @taranrishith 4 ปีที่แล้ว

    That is so cool,a front end for ml...

  • @pandarzzz
    @pandarzzz 6 ปีที่แล้ว

    Thank you for sharing this informative video! 🐯🖐🏻 I hope you are well.

  • @syware1
    @syware1 2 ปีที่แล้ว

    Very interesting! Thank you!

  • @playbyan1453
    @playbyan1453 3 ปีที่แล้ว

    Kinda useful, I do made a auto encoder to denoie images I'm still learning these kind of things

  • @luis96xd
    @luis96xd 3 ปีที่แล้ว +3

    Amazing video! Everything was well explained. Thanks! 😄😄
    I want to see more Tensorflow JS content
    Could you make a video of how to participate in a kaggle competition, get the datasets, and submitting it? Please
    I want to train the model in Python and then use it in a web app 😁

  • @lionardo
    @lionardo 6 ปีที่แล้ว

    cool! do a series on this!

  • @sachinmishra7692
    @sachinmishra7692 6 ปีที่แล้ว

    That's really cool sruff.I think sonner the AI code will be written in Angular

  • @noamgonen6243
    @noamgonen6243 6 ปีที่แล้ว

    helpful and well explained, thanks!

  • @srjbora
    @srjbora 6 ปีที่แล้ว +1

    I love your channel ❤

    • @Fireship
      @Fireship  6 ปีที่แล้ว +1

      +Suraj, thank you for watching

  • @zingapotol
    @zingapotol 3 ปีที่แล้ว

    1:46 ambition spotted

  • @AutoDidact-o9s
    @AutoDidact-o9s ปีที่แล้ว

    I didnt realize it was this simple. FML.

  • @AZIXKiND3R
    @AZIXKiND3R ปีที่แล้ว

    ce set me rappel mes débuts sur le jeu avec l atwork de yasuo élu et les synergies bien meilleures que les actuelles, j'espère juste que toutes les compo auront du potentielles et pas juste une à deux, ça dégouterai vite

  • @vncntjms
    @vncntjms 4 หลายเดือนก่อน +1

    To this day, are those resources still relevant to learn ML?

  • @ahmedadly
    @ahmedadly 6 ปีที่แล้ว

    Wonderful 👍

  • @plaguemusic9104
    @plaguemusic9104 3 ปีที่แล้ว

    everything bounced over my head

  • @harshitpant3067
    @harshitpant3067 6 ปีที่แล้ว

    We need more

  • @jessyndaya9487
    @jessyndaya9487 6 ปีที่แล้ว

    awesome!!!

  • @dhruvgajwa8433
    @dhruvgajwa8433 4 ปีที่แล้ว

    use parseInt(val) ....... as the angular takes the value as string rather than a number!

  • @Cdaprod
    @Cdaprod ปีที่แล้ว

    Ty

  •  6 ปีที่แล้ว

    Well, I'm cracking my head for too much time by now.
    First: thank you for the tutorial, you were very clear, even though the documentation on this library is *so so much obscure*, even for me who have background in Machine Learning and the Linear Regression method.
    I want to know more about what goes under the blanked in the fit() and predict() functions. Their arguments and return types are counterintuitive for me. And I can't find further documentation unless I learn Python :(
    I did the example exactly like in the video, but the result doesn't seem to reflect a correct prediction at all. In fact, it seems random much of the time. Has someone got correct predictions with the example in this video? I did a simple graph and inserted dots manually to make up the training set roughly like a y = x function, and sometimes I get a y = -7x, or y = 5x, or some gigantic positive or negative number.

  • @gaspc523
    @gaspc523 6 ปีที่แล้ว +1

    Thanks for your great videos.
    Is it useable (in terms of performances) in an Ionic app?

    • @gustafklimt
      @gustafklimt 5 ปีที่แล้ว

      as of now, yes - newer versions of webview(what runs your ionic apps on the mobile device) support webgl(gpu api for browsers to make your models run faster) - that said, you should use mobile optimised nets - e.g. mobile net in order to make it efficiently run in a resource-constrained environment

  • @AdyOrigin
    @AdyOrigin 3 หลายเดือนก่อน

    This video is tensor tensor tensor flow tensor. Oh and tensor and tensor flow

  • @yesyouarerightbut3200
    @yesyouarerightbut3200 5 ปีที่แล้ว +1

    Have you any tutorial about Voice Recognition in Tenserflow?

  • @vivekr.k7950
    @vivekr.k7950 4 ปีที่แล้ว

    nice post thanks...

  • @saadchaudhary3177
    @saadchaudhary3177 5 หลายเดือนก่อน

    Video from the past. When there is no crypto, no a.i ,no layoffs bullshit was there. 😢😢

  • @thepirate_kinz1509
    @thepirate_kinz1509 ปีที่แล้ว

    Can you please show us how you connect the drawn image to the typescript code

  • @gillesashley9314
    @gillesashley9314 5 ปีที่แล้ว +1

    I'm creating a Students' Performance Prediction system, I want to use tensorflow js. Any advice?

  • @codesteel
    @codesteel ปีที่แล้ว

    Where do I find the download to the Keras file? I am trying to follow along and I'm stuck around 7:44

  • @Penguinz-fr1mu
    @Penguinz-fr1mu 6 ปีที่แล้ว +1

    How can I host my web application?

  • @PraveenKumar-pw9kq
    @PraveenKumar-pw9kq 6 ปีที่แล้ว +1

    Do you know how can we translate the audio using tensorflow.js.?

  • @abdotawfikmath
    @abdotawfikmath ปีที่แล้ว

    Can you make a TensorFlow in C video?

  • @vend57
    @vend57 4 ปีที่แล้ว

    Is it even useful if you learn Django-Ajax or Flask-Ajax calls ?

  • @zalvendayao9080
    @zalvendayao9080 2 ปีที่แล้ว

    Tensorflow 100 seconds pleasee :>

  • @JassarDev
    @JassarDev 2 ปีที่แล้ว

    "Because you're most likely a human being"

  • @spacewad8745
    @spacewad8745 6 ปีที่แล้ว +1

    Okay! This is really important! What theme are you using for VS Code?

    • @Fireship
      @Fireship  6 ปีที่แล้ว

      atom-one-dark + vscode-icons

  • @darshangowda309
    @darshangowda309 6 ปีที่แล้ว

    Is it a good idea to run tf.js on cloud functions ? I know predicting would be easier, but what do you think about training ? It'd be really cool to trigger training on real data whenever necessary!!

    • @Fireship
      @Fireship  6 ปีที่แล้ว +1

      It's not supported in Node yet, but I am really looking forward to this possibility. It would be best for predicting or possibly training small models, and tightly integrated with your Firebase data.

  • @offload3286
    @offload3286 6 ปีที่แล้ว

    i installed tensorflow/tfjs and it added 23 packs from 37 contributors and audited 25 packs. are these numbers correct? btw, i am learning Angular first atm .

  • @hanyanglee9018
    @hanyanglee9018 2 ปีที่แล้ว

    Is this js or ts? I see some grammar from ts. If tf works with ts, then I guess it's time for me to learn tf.

  • @akashpal9691
    @akashpal9691 6 ปีที่แล้ว

    where can one get to know the pre trained models ?

  • @carljustinemosquida9614
    @carljustinemosquida9614 5 ปีที่แล้ว

    Can you site those coursera courses you'd take?

  • @olanrewajusule-balogun612
    @olanrewajusule-balogun612 6 ปีที่แล้ว +1

    thanks for your video , could you make a video to verify if a mail is spam or not spam iin tensor flow ....... pls from nigria

    • @Fireship
      @Fireship  6 ปีที่แล้ว +2

      That's a good idea. Spam filters were one of the first successful uses of neural nets.

    • @olanrewajusule-balogun612
      @olanrewajusule-balogun612 6 ปีที่แล้ว +1

      we could actually use dataset on kaggle too.... will be very glad if u approve my request.... Kudos too

    • @Fireship
      @Fireship  6 ปีที่แล้ว +1

      A video like that is highly likely - Kaggle is where I usually get my training data.

    • @olanrewajusule-balogun612
      @olanrewajusule-balogun612 6 ปีที่แล้ว

      cool bro.. just recently got into ML and u just inspired me into thinking big .... much love bro

  • @haardshah1715
    @haardshah1715 6 ปีที่แล้ว

    what editor are you using? to edit files.

  • @Alex-ps1nr
    @Alex-ps1nr 4 ปีที่แล้ว

    How is he pasting text into the editor like that?

  • @alanlal5625
    @alanlal5625 6 ปีที่แล้ว +1

    Does it have the full functionality like tensorflow with python ?

    • @Fireship
      @Fireship  6 ปีที่แล้ว +2

      The API is about 90% covered. Feels similar in most ways, but there are some differences.

  • @bondamus5430
    @bondamus5430 6 ปีที่แล้ว

    please do EMOJI SCAVENGER HUNT in ionic :))

    • @bondamus5430
      @bondamus5430 6 ปีที่แล้ว

      github.com/google/emoji-scavenger-hunt

  • @mateja176
    @mateja176 6 ปีที่แล้ว

    This might be an odd question, but at times it seems as if you are able to store multiple items on your Clipboard and paste them in in a specific order. I know that you can keep multiple items on your Clipboard, but how can you paste them into the document one by one?

    • @Fireship
      @Fireship  6 ปีที่แล้ว +6

      Get that question all the time. When recording I delete lines in reverse order, then hit ctrl-z

    • @mateja176
      @mateja176 6 ปีที่แล้ว +1

      Angular Firebase Awesome! I was observing the added, deleted, modified line hints in VS Code and yet I didn't quite catch the fact, probably didn't pay enough attention. I'm looking forward to more videos on this topic and perhaps you could cover some of the ML tools available on AWS such as SageMaker, it supposedly enables you to quickly and easily deploy a model and I've heard that it can be used in conjunction with TensorFlow.

  • @amritbanerjee
    @amritbanerjee 3 ปีที่แล้ว

    SGD stands for Singapore $ please 😁

  • @sanjibanichoudhury7517
    @sanjibanichoudhury7517 6 ปีที่แล้ว

    where the repo link for these two projects

  • @danishmehmood6110
    @danishmehmood6110 6 ปีที่แล้ว

    man what is that music in the background at the start

  • @dragonniteIV
    @dragonniteIV 3 ปีที่แล้ว

    How can I provider multiple arrays as inputs? I have a CSV file which i want to import? I am really new here and its frustrating me that I can't find a simple anywhere.. :(
    I want to have something like this:
    [1,2,3,4,5,6], [7,6,5,4,3,2,1]]
    then the corresponding output for the first set of numbers would be 10,20,30,40,50,60
    and for the second it would be : 70, 60, 50, 40, 30, 20, 10
    Can someone please help?

    • @SirusStarTV
      @SirusStarTV 3 ปีที่แล้ว

      TH-cam keeps deleting my replies with code example, don't know how to write it so it wouldn't be deleted :(

    • @SirusStarTV
      @SirusStarTV 3 ปีที่แล้ว

      Call flatMap on that array with arrow function as first argument, name first argument of arrow function as "value" (for example) and multiple "value" by 10.

  • @rickragv
    @rickragv 6 ปีที่แล้ว

    hi i have a object detection model, using tensorflow object detection inception v2.
    cant able to figure out output node name which is required for tensorflow js... any help...

    • @Fireship
      @Fireship  6 ปีที่แล้ว

      Might be able to help, post some code in Slack paskuale.ibrushi@gmail.com

  • @jh3543
    @jh3543 5 ปีที่แล้ว

    Hi is there any good courses about machine learning on udemy?

  • @AmalShehu
    @AmalShehu 6 ปีที่แล้ว +1

    Demo link not working.

    • @Fireship
      @Fireship  6 ปีที่แล้ว +1

      Thank you, just fixed that.

  • @UjjwalKumar-wg4wu
    @UjjwalKumar-wg4wu 5 ปีที่แล้ว

    What VS code theme do you use?

  • @crooked8168
    @crooked8168 4 ปีที่แล้ว

    pfff, my brain is on fire

  • @nielshoogeveen3767
    @nielshoogeveen3767 6 ปีที่แล้ว

    Do you have the code available for the simple linear regression model?

    • @joseortiz_io
      @joseortiz_io 5 ปีที่แล้ว

      Hey! I just uploaded a video on a regression video in Tensorflow! Check it out!😊👍

  • @Penguinz-fr1mu
    @Penguinz-fr1mu 6 ปีที่แล้ว +1

    How to run the app?

    • @Penguinz-fr1mu
      @Penguinz-fr1mu 6 ปีที่แล้ว

      nvm. I found it out. "ng build" then "ng serve" from the src/app

  • @krtirtho
    @krtirtho 3 ปีที่แล้ว +1

    Man do the overall front-end code with React please. No one uses Angular so generally & I think it is the only reason you're getting better views but less watch-time, may be

  • @lukaszwiktor
    @lukaszwiktor 3 ปีที่แล้ว +1

    I tried training a model with values of a function y = 2x and it returns totally unexpected results. What am I doing wrong? Here is the source code for node.js gist.github.com/LukaszWiktor/748c40c8a51514cc37f5e0e037becf1d

  • @ksichtmen
    @ksichtmen 6 ปีที่แล้ว

    I would prefer you to type the code rather than pasting it. :)

  • @alexpearl3155
    @alexpearl3155 4 ปีที่แล้ว

    what theme is this in vscode

  • @stephenkamenar
    @stephenkamenar 5 ปีที่แล้ว

    3:03 why does this take "machine learning" ? seems like a straightfoward math equation

  • @AutoDidact-o9s
    @AutoDidact-o9s ปีที่แล้ว

    I didn’t have a background.

  • @naheliegend5222
    @naheliegend5222 2 ปีที่แล้ว

    Dude, when did you learn all the stuff? Do you even sleep? 😅

  • @sohaibarif2835
    @sohaibarif2835 6 ปีที่แล้ว +1

    Does anyone have any experience with real time object recognition or classification speed in tensorflow js vs tensorflow mobile? Which will be faster? I know mobile should be faster but I would need to learn Android development and I would prefer to know for sure before I start on either.

  • @SizzlingSquiggle
    @SizzlingSquiggle 3 ปีที่แล้ว

    Oh yeah, easy.

  • @joseortiz_io
    @joseortiz_io 5 ปีที่แล้ว

    This is awesome my man! Great job! I've been inspired to start my own journey to learning AI as well. I just published my first video! Check it out! 😊👍

  • @cimmik
    @cimmik ปีที่แล้ว

    I just want to be honest. This quick start tutorial was too abstract. I need to be able to visualize the model and be able to know what each line does in the model.

  • @marcosradix1
    @marcosradix1 6 ปีที่แล้ว

    For make a class in this way I'd rather not, very bad explication.