TensorFlow.js Quick Start

Поделиться
HTML-код
  • Опубликовано: 3 окт 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

  • @casinarro
    @casinarro Год назад +3

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

  • @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.

  • @razakadam74
    @razakadam74 6 лет назад +131

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

  • @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.

  • @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!

  • @MrLuc420
    @MrLuc420 6 лет назад +14

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

  • @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.

  • @safffom
    @safffom 4 года назад +7

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

  • @zenhsuld
    @zenhsuld 6 лет назад +5

    thank you, we need more of TensorFlow.js

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 3 года назад

    Jeff is my favourite tech youtuber!

  • @antonkurtin
    @antonkurtin 2 года назад

    this is the only useful tutorial on whole youtube

  • @JoeWong81
    @JoeWong81 6 лет назад +1

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

  • @SondreSrbye
    @SondreSrbye 6 лет назад +11

    More tensorflow.js 🙏

  • @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.

  • @EragonShadeslayer
    @EragonShadeslayer 2 года назад

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

  • @barakatosalon
    @barakatosalon 6 лет назад +1

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

  • @Penguinz-fr1mu
    @Penguinz-fr1mu 6 лет назад

    thank you, we need more of 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

  • @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 😁

  • @loki6841
    @loki6841 6 лет назад +1

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

  • @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.

  • @hamedpro_experiments
    @hamedpro_experiments Год назад

    keep going bro your videos are awesome

  • @warrior4hinduism274
    @warrior4hinduism274 6 лет назад

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

  • @kunalr_ai
    @kunalr_ai 6 лет назад +2

    More content on tensorflow

  • @zingapotol
    @zingapotol 3 года назад

    1:46 ambition spotted

  • @carpfishprodcuts
    @carpfishprodcuts 6 лет назад +1

    more with tensorflow.js please !

  • @vncntjms
    @vncntjms 4 месяца назад +1

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

  • @dhruvgajwa8433
    @dhruvgajwa8433 4 года назад

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

  • @taranrishith
    @taranrishith 4 года назад

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

  • @bensonmwaura9494
    @bensonmwaura9494 6 лет назад

    True: Tons of potential indeed!

  • @playbyan1453
    @playbyan1453 3 года назад

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

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 года назад

    Thanks for this amazing video!

  • @pandarzzz
    @pandarzzz 6 лет назад

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

  • @AutoDidact-o9s
    @AutoDidact-o9s Год назад

    I didnt realize it was this simple. FML.

  • @sachinmishra7692
    @sachinmishra7692 6 лет назад

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

  • @reddyashok9
    @reddyashok9 6 лет назад +2

    Thank You for Great video....

  • @syware1
    @syware1 2 года назад

    Very interesting! Thank you!

  • @lionardo
    @lionardo 6 лет назад

    cool! do a series on this!

  • @srjbora
    @srjbora 6 лет назад +1

    I love your channel ❤

    • @Fireship
      @Fireship  6 лет назад +1

      +Suraj, thank you for watching

  •  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

  • @noamgonen6243
    @noamgonen6243 6 лет назад

    helpful and well explained, thanks!

  • @plaguemusic9104
    @plaguemusic9104 3 года назад

    everything bounced over my head

  • @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

  • @gillesashley9314
    @gillesashley9314 5 лет назад +1

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

  • @yesyouarerightbut3200
    @yesyouarerightbut3200 5 лет назад +1

    Have you any tutorial about Voice Recognition in Tenserflow?

  • @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.

  • @vend57
    @vend57 4 года назад

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

  • @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

  • @PraveenKumar-pw9kq
    @PraveenKumar-pw9kq 6 лет назад +1

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

  • @harshitpant3067
    @harshitpant3067 6 лет назад

    We need more

  • @saadchaudhary3177
    @saadchaudhary3177 4 месяца назад

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

  • @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

  • @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

  • @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.

  • @thepirate_kinz1509
    @thepirate_kinz1509 Год назад

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

  • @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 .

  • @AdyOrigin
    @AdyOrigin 3 месяца назад

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

  • @Penguinz-fr1mu
    @Penguinz-fr1mu 6 лет назад +1

    How can I host my web application?

  • @ahmedadly
    @ahmedadly 6 лет назад

    Wonderful 👍

  • @haardshah1715
    @haardshah1715 6 лет назад

    what editor are you using? to edit files.

  • @JassarDev
    @JassarDev 2 года назад

    "Because you're most likely a human being"

  • @jessyndaya9487
    @jessyndaya9487 6 лет назад

    awesome!!!

  • @ksichtmen
    @ksichtmen 6 лет назад

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

  • @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.

  • @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

  • @abdotawfikmath
    @abdotawfikmath Год назад

    Can you make a TensorFlow in C video?

  • @lunareclipse07
    @lunareclipse07 3 года назад

    "Because you're most likely a human being"

  • @Alex-ps1nr
    @Alex-ps1nr 4 года назад

    How is he pasting text into the editor like that?

  • @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.

  • @zalvendayao9080
    @zalvendayao9080 2 года назад

    Tensorflow 100 seconds pleasee :>

  • @carljustinemosquida9614
    @carljustinemosquida9614 5 лет назад

    Can you site those coursera courses you'd take?

  • @jh3543
    @jh3543 4 года назад

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

  • @akashpal9691
    @akashpal9691 6 лет назад

    where can one get to know the pre trained models ?

  • @naheliegend5222
    @naheliegend5222 2 года назад

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

  • @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

  • @amritbanerjee
    @amritbanerjee 3 года назад

    SGD stands for Singapore $ please 😁

  • @crooked8168
    @crooked8168 4 года назад

    pfff, my brain is on fire

  • @Cdaprod
    @Cdaprod Год назад

    Ty

  • @vivekr.k7950
    @vivekr.k7950 4 года назад

    nice post thanks...

  • @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

  • @danishmehmood6110
    @danishmehmood6110 6 лет назад

    man what is that music in the background at the start

  • @UjjwalKumar-wg4wu
    @UjjwalKumar-wg4wu 5 лет назад

    What VS code theme do you use?

  • @sanjibanichoudhury7517
    @sanjibanichoudhury7517 6 лет назад

    where the repo link for these two projects

  • @AmalShehu
    @AmalShehu 6 лет назад +1

    Demo link not working.

    • @Fireship
      @Fireship  6 лет назад +1

      Thank you, just fixed that.

  • @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 года назад

      RUclips 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.

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

  • @AutoDidact-o9s
    @AutoDidact-o9s Год назад

    I didn’t have a background.

  • @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.

  • @stephenkamenar
    @stephenkamenar 5 лет назад

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

  • @alexpearl3155
    @alexpearl3155 4 года назад

    what theme is this in vscode

  • @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

  • @bondamus5430
    @bondamus5430 6 лет назад

    please do EMOJI SCAVENGER HUNT in ionic :))

    • @bondamus5430
      @bondamus5430 6 лет назад

      github.com/google/emoji-scavenger-hunt

  • @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.