TensorFlow.js Quick Start

Sdílet
Vložit
  • čas přidán 2. 04. 2018
  • Get started with TensorFlow.js by building a digit recognizer from scratch in this quick start tutorial angularfirebase.com/lessons/t...
    TF.js docs - js.tensorflow.org
    Machine Learning Crash Course - developers.google.com/machine...
    Kaggle - www.kaggle.com/jeffd23
    MNIST - ml4a.github.io/demos/confusio...
  • Věda a technologie

Komentáře • 173

  • @Fireship
    @Fireship  Před 6 lety +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.

  • @bpaultas3167
    @bpaultas3167 Před 6 lety +61

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

  • @mwh6246
    @mwh6246 Před 6 lety +21

    Should absolutely do more tensorflow videos, very cool stuff.

  • @casinarro
    @casinarro Před rokem +3

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

  • @kirangouds
    @kirangouds Před 6 lety +8

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

    • @Fireship
      @Fireship  Před 6 lety +2

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

  • @patrickmullot73
    @patrickmullot73 Před 6 lety +3

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

    • @Fireship
      @Fireship  Před 6 lety +1

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

  • @zenhsuld
    @zenhsuld Před 6 lety +5

    thank you, we need more of TensorFlow.js

  • @MrLuc420
    @MrLuc420 Před 6 lety +14

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

  • @razakadam74
    @razakadam74 Před 6 lety +132

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

  • @IgalaMan2010
    @IgalaMan2010 Před 6 lety +2

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

    • @Fireship
      @Fireship  Před 6 lety

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

  • @JoeWong81
    @JoeWong81 Před 6 lety +1

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

  • @vicradon
    @vicradon Před 2 lety +2

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

  • @SondreSrbye
    @SondreSrbye Před 6 lety +11

    More tensorflow.js 🙏

  • @barakatosalon
    @barakatosalon Před 6 lety +1

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

  • @princecanuma
    @princecanuma Před 6 lety +1

    I would love to see more of tensorflow.js

  • @rajayogan8884
    @rajayogan8884 Před 6 lety +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  Před 6 lety +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.

  • @safffom
    @safffom Před 4 lety +7

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

  • @heinrichvanheerden1528
    @heinrichvanheerden1528 Před 6 lety +8

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

  • @SketchStack
    @SketchStack Před 6 lety

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

    • @Fireship
      @Fireship  Před 6 lety +2

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

    • @SketchStack
      @SketchStack Před 6 lety

      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. 😊👍

  • @carpfishprodcuts
    @carpfishprodcuts Před 6 lety +1

    more with tensorflow.js please !

  • @pandarzzz
    @pandarzzz Před 5 lety

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

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 Před 2 lety

    Thanks for this amazing video!

  • @warrior4hinduism274
    @warrior4hinduism274 Před 6 lety

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

  • @loki6841
    @loki6841 Před 6 lety +1

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

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 Před 2 lety

    Jeff is my favourite tech youtuber!

  • @reddyashok9
    @reddyashok9 Před 6 lety +2

    Thank You for Great video....

  • @freeflow_dev
    @freeflow_dev Před rokem

    keep going bro your videos are awesome

  • @syware1
    @syware1 Před 2 lety

    Very interesting! Thank you!

  • @noamgonen6243
    @noamgonen6243 Před 6 lety

    helpful and well explained, thanks!

  • @luis96xd
    @luis96xd Před 3 lety +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 😁

  • @bensonmwaura9494
    @bensonmwaura9494 Před 6 lety

    True: Tons of potential indeed!

  • @antonkurtin
    @antonkurtin Před 2 lety

    this is the only useful tutorial on whole youtube

  • @lionardo
    @lionardo Před 6 lety

    cool! do a series on this!

  • @rahulvanmali1406
    @rahulvanmali1406 Před 6 lety +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  Před 6 lety +11

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

  • @taranrishith
    @taranrishith Před 4 lety

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

  • @sachinmishra7692
    @sachinmishra7692 Před 6 lety

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

  • @gillesashley9314
    @gillesashley9314 Před 4 lety +1

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

  • @kunalr_ai
    @kunalr_ai Před 6 lety +2

    More content on tensorflow

  • @playbyan1453
    @playbyan1453 Před 2 lety

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

  • @yesyouarerightbut3200
    @yesyouarerightbut3200 Před 5 lety +1

    Have you any tutorial about Voice Recognition in Tenserflow?

  • @srjbora
    @srjbora Před 6 lety +1

    I love your channel ❤

    • @Fireship
      @Fireship  Před 6 lety +1

      +Suraj, thank you for watching

  • @gaspc523
    @gaspc523 Před 6 lety +1

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

    • @gustafklimt
      @gustafklimt Před 4 lety

      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

  • @ahmedadly
    @ahmedadly Před 6 lety

    Wonderful 👍

  • @harshitpant3067
    @harshitpant3067 Před 6 lety

    We need more

  •  Před 5 lety

    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.

  • @AZIXKiND3R
    @AZIXKiND3R Před rokem

    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

  • @vend57
    @vend57 Před 3 lety

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

  • @PraveenKumar-pw9kq
    @PraveenKumar-pw9kq Před 6 lety +1

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

  • @thepirate_kinz1509
    @thepirate_kinz1509 Před 9 měsíci

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

  • @offload3286
    @offload3286 Před 5 lety

    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 .

  • @jessyndaya9487
    @jessyndaya9487 Před 6 lety

    awesome!!!

  • @darshangowda309
    @darshangowda309 Před 6 lety

    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  Před 6 lety +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.

  • @EragonShadeslayer
    @EragonShadeslayer Před 2 lety

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

  • @Cdaprod
    @Cdaprod Před rokem

    Ty

  • @akashpal9691
    @akashpal9691 Před 6 lety

    where can one get to know the pre trained models ?

  • @mateja176
    @mateja176 Před 6 lety

    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  Před 6 lety +6

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

    • @mateja176
      @mateja176 Před 6 lety +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.

  • @codesteel
    @codesteel Před rokem

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

  • @haardshah1715
    @haardshah1715 Před 6 lety

    what editor are you using? to edit files.

  • @rickragv
    @rickragv Před 6 lety

    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  Před 6 lety

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

  • @dhruvgajwa8433
    @dhruvgajwa8433 Před 4 lety

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

  • @carljustinemosquida9614

    Can you site those coursera courses you'd take?

  • @alanlal5625
    @alanlal5625 Před 6 lety +1

    Does it have the full functionality like tensorflow with python ?

    • @Fireship
      @Fireship  Před 6 lety +2

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

  • @sanjibanichoudhury7517

    where the repo link for these two projects

  • @vivekr.k7950
    @vivekr.k7950 Před 4 lety

    nice post thanks...

  • @user-gp3ub5td2t
    @user-gp3ub5td2t Před rokem

    I didnt realize it was this simple. FML.

  • @Penguinz-fr1mu
    @Penguinz-fr1mu Před 6 lety +1

    How can I host my web application?

  • @jh3543
    @jh3543 Před 4 lety

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

  • @Alex-ps1nr
    @Alex-ps1nr Před 4 lety

    How is he pasting text into the editor like that?

  • @sohaibarif2835
    @sohaibarif2835 Před 6 lety +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.

  • @UjjwalKumar-wg4wu
    @UjjwalKumar-wg4wu Před 5 lety

    What VS code theme do you use?

  • @nielshoogeveen3767
    @nielshoogeveen3767 Před 6 lety

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

    • @joseortiz_io
      @joseortiz_io Před 4 lety

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

  • @olanrewajusule-balogun612

    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  Před 6 lety +2

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

    • @olanrewajusule-balogun612
      @olanrewajusule-balogun612 Před 6 lety +1

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

    • @Fireship
      @Fireship  Před 6 lety +1

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

    • @olanrewajusule-balogun612
      @olanrewajusule-balogun612 Před 6 lety

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

  • @plaguemusic9104
    @plaguemusic9104 Před 2 lety

    everything bounced over my head

  • @zingapotol
    @zingapotol Před 3 lety

    1:46 ambition spotted

  • @dragonniteIV
    @dragonniteIV Před 2 lety

    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 Před 2 lety

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

    • @SirusStarTV
      @SirusStarTV Před 2 lety

      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.

  • @spacewad8745
    @spacewad8745 Před 6 lety +1

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

    • @Fireship
      @Fireship  Před 6 lety

      atom-one-dark + vscode-icons

  • @danishmehmood6110
    @danishmehmood6110 Před 6 lety

    man what is that music in the background at the start

  • @bondamus5430
    @bondamus5430 Před 6 lety

    please do EMOJI SCAVENGER HUNT in ionic :))

    • @bondamus5430
      @bondamus5430 Před 6 lety

      github.com/google/emoji-scavenger-hunt

  • @abdotawfikmath
    @abdotawfikmath Před rokem

    Can you make a TensorFlow in C video?

  • @vncntjms
    @vncntjms Před měsícem

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

  • @alexpearl3155
    @alexpearl3155 Před 4 lety

    what theme is this in vscode

  • @zalvendayao9080
    @zalvendayao9080 Před 2 lety

    Tensorflow 100 seconds pleasee :>

  • @AdyOrigin
    @AdyOrigin Před 5 dny

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

  • @amritbanerjee
    @amritbanerjee Před 2 lety

    SGD stands for Singapore $ please 😁

  • @Penguinz-fr1mu
    @Penguinz-fr1mu Před 6 lety +1

    How to run the app?

    • @Penguinz-fr1mu
      @Penguinz-fr1mu Před 6 lety

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

  • @AmalShehu
    @AmalShehu Před 6 lety +1

    Demo link not working.

    • @Fireship
      @Fireship  Před 6 lety +1

      Thank you, just fixed that.

  • @hanyanglee9018
    @hanyanglee9018 Před 2 lety

    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.

  • @saadchaudhary3177
    @saadchaudhary3177 Před 2 měsíci

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

  • @krtirtho
    @krtirtho Před 3 lety +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

  • @ksichtmen
    @ksichtmen Před 6 lety

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

  • @crooked8168
    @crooked8168 Před 3 lety

    pfff, my brain is on fire

  • @stephenkamenar
    @stephenkamenar Před 5 lety

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

  • @joseortiz_io
    @joseortiz_io Před 4 lety

    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! 😊👍

  • @lukaszwiktor
    @lukaszwiktor Před 3 lety +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

  • @JassarDev
    @JassarDev Před 2 lety

    "Because you're most likely a human being"

  • @SizzlingSquiggle
    @SizzlingSquiggle Před 2 lety

    Oh yeah, easy.

  • @user-gp3ub5td2t
    @user-gp3ub5td2t Před rokem

    I didn’t have a background.

  • @naheliegend5222
    @naheliegend5222 Před rokem

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

  • @marcosradix1
    @marcosradix1 Před 6 lety

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

  • @cimmik
    @cimmik Před 9 měsíci

    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.