TensorFlow.js Quick Start

Поділитися
Вставка
  • Опубліковано 20 сер 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 років тому +10

      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

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

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

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

  • @casinarro
    @casinarro Рік тому +3

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

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

  • @MrLuc420
    @MrLuc420 6 років тому +14

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

  • @safffom
    @safffom 4 роки тому +7

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

  • @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 років тому +2

      Thank you. Will do!

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 2 роки тому

    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

  • @SondreSrbye
    @SondreSrbye 6 років тому +11

    More tensorflow.js 🙏

  • @barakatosalon
    @barakatosalon 6 років тому +1

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

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

  • @EragonShadeslayer
    @EragonShadeslayer 2 роки тому

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

  • @princecanuma
    @princecanuma 6 років тому +1

    I would love to see more of tensorflow.js

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

  • @freeflow_dev
    @freeflow_dev Рік тому

    keep going bro your videos are awesome

  • @loki6841
    @loki6841 6 років тому +1

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

  • @kunalr_ai
    @kunalr_ai 6 років тому +2

    More content on tensorflow

  • @warrior4hinduism274
    @warrior4hinduism274 6 років тому

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

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

  • @carpfishprodcuts
    @carpfishprodcuts 6 років тому +1

    more with tensorflow.js please !

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

  • @playbyan1453
    @playbyan1453 3 роки тому

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

  • @taranrishith
    @taranrishith 4 роки тому

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

  • @reddyashok9
    @reddyashok9 6 років тому +2

    Thank You for Great video....

  • @pandarzzz
    @pandarzzz 6 років тому

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

  • @sachinmishra7692
    @sachinmishra7692 6 років тому

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

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 роки тому

    Thanks for this amazing video!

  • @vncntjms
    @vncntjms 3 місяці тому +1

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

  • @bensonmwaura9494
    @bensonmwaura9494 6 років тому

    True: Tons of potential indeed!

  • @zingapotol
    @zingapotol 3 роки тому

    1:46 ambition spotted

  • @lionardo
    @lionardo 6 років тому

    cool! do a series on this!

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

  • @syware1
    @syware1 2 роки тому

    Very interesting! Thank you!

  • @thepirate_kinz1509
    @thepirate_kinz1509 11 місяців тому

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

  • @noamgonen6243
    @noamgonen6243 6 років тому

    helpful and well explained, thanks!

  • @dhruvgajwa8433
    @dhruvgajwa8433 4 роки тому

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

  • @srjbora
    @srjbora 6 років тому +1

    I love your channel ❤

    • @Fireship
      @Fireship  6 років тому +1

      +Suraj, thank you for watching

  • @user-gp3ub5td2t
    @user-gp3ub5td2t Рік тому

    I didnt realize it was this simple. FML.

  • @saadchaudhary3177
    @saadchaudhary3177 3 місяці тому

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

  • @Penguinz-fr1mu
    @Penguinz-fr1mu 6 років тому +1

    How can I host my web application?

  • @yesyouarerightbut3200
    @yesyouarerightbut3200 5 років тому +1

    Have you any tutorial about Voice Recognition in Tenserflow?

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

  • @plaguemusic9104
    @plaguemusic9104 2 роки тому

    everything bounced over my head

  • @PraveenKumar-pw9kq
    @PraveenKumar-pw9kq 6 років тому +1

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

  • @harshitpant3067
    @harshitpant3067 6 років тому

    We need more

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

  • @gillesashley9314
    @gillesashley9314 5 років тому +1

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

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

  • @vend57
    @vend57 3 роки тому

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

  • @abdotawfikmath
    @abdotawfikmath Рік тому

    Can you make a TensorFlow in C video?

  • @akashpal9691
    @akashpal9691 6 років тому

    where can one get to know the pre trained models ?

  • @AdyOrigin
    @AdyOrigin Місяць тому

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

  • @Alex-ps1nr
    @Alex-ps1nr 4 роки тому

    How is he pasting text into the editor like that?

  • @danishmehmood6110
    @danishmehmood6110 6 років тому

    man what is that music in the background at the start

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

  • @sanjibanichoudhury7517
    @sanjibanichoudhury7517 6 років тому

    where the repo link for these two projects

  • @dragonniteIV
    @dragonniteIV 2 роки тому

    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 2 роки тому

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

    • @SirusStarTV
      @SirusStarTV 2 роки тому

      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.

  • @Cdaprod
    @Cdaprod Рік тому

    Ty

  • @ahmedadly
    @ahmedadly 6 років тому

    Wonderful 👍

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

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

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

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

  • @zalvendayao9080
    @zalvendayao9080 2 роки тому

    Tensorflow 100 seconds pleasee :>

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

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

  • @alexpearl3155
    @alexpearl3155 4 роки тому

    what theme is this in vscode

  • @vivekr.k7950
    @vivekr.k7950 4 роки тому

    nice post thanks...

  • @JassarDev
    @JassarDev 2 роки тому

    "Because you're most likely a human being"

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

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

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

  • @AmalShehu
    @AmalShehu 6 років тому +1

    Demo link not working.

    • @Fireship
      @Fireship  6 років тому +1

      Thank you, just fixed that.

  • @jessyndaya9487
    @jessyndaya9487 6 років тому

    awesome!!!

  • @jh3543
    @jh3543 4 роки тому

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

  • @nielshoogeveen3767
    @nielshoogeveen3767 6 років тому

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

    • @joseortiz_io
      @joseortiz_io 4 роки тому

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

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

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

  • @haardshah1715
    @haardshah1715 6 років тому

    what editor are you using? to edit files.

  • @amritbanerjee
    @amritbanerjee 3 роки тому

    SGD stands for Singapore $ please 😁

  • @UjjwalKumar-wg4wu
    @UjjwalKumar-wg4wu 5 років тому

    What VS code theme do you use?

  • @ksichtmen
    @ksichtmen 6 років тому

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

  • @user-gp3ub5td2t
    @user-gp3ub5td2t Рік тому

    I didn’t have a background.

  • @bondamus5430
    @bondamus5430 6 років тому

    please do EMOJI SCAVENGER HUNT in ionic :))

    • @bondamus5430
      @bondamus5430 6 років тому

      github.com/google/emoji-scavenger-hunt

  • @naheliegend5222
    @naheliegend5222 2 роки тому

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

  • @stephenkamenar
    @stephenkamenar 5 років тому

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

  • @crooked8168
    @crooked8168 3 роки тому

    pfff, my brain is on fire

  • @cimmik
    @cimmik 11 місяців тому

    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.

  • @SizzlingSquiggle
    @SizzlingSquiggle 2 роки тому

    Oh yeah, easy.

  • @joseortiz_io
    @joseortiz_io 4 роки тому

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

  • @stevenf7474
    @stevenf7474 2 роки тому

    This line does not work in Angular 14: this.linearModel.compile({loss: 'meanSquareError', optimizer: 'sgd'}); - I get: Error: Uncaught (in promise): Error: Unknown loss meanSquareError
    Error: Unknown loss meanSquareError ... Any ideas?