How to Train Your Models in the Cloud

Поділитися
Вставка
  • Опубліковано 11 тра 2017
  • Let's discuss whether you should train your models locally or in the cloud. I'll go through several dedicated GPU options, then compare three cloud options; AWS, Google Cloud, and FloydHub. I was not endorsed by anyone for this.
    Code for this video:
    github.com/floydhub/fast-styl...
    Please Subscribe! And like. And comment. That's what keeps me going.
    High Budget GPU: Titan XP www.amazon.com/NVIDIA-GeForce...
    Medium Budget GPU: www.amazon.com/MSI-GAMING-GTX...
    Small Budget GPU: www.amazon.com/dp/B01MF7EQJZ
    Build a Deep Learning machine:
    / build-a-deep-learning-...
    / building-your-own-deep...
    www.oreilly.com/learning/buil...
    More learning resources:
    www.infoworld.com/article/3179...
    thehftguy.com/2016/06/15/gce-...
    / aws-vs-google-cloud-fl...
    news.ycombinator.com/item?id=...
    Join us in the Wizards Slack channel:
    wizards.herokuapp.com/
    And please support me on Patreon:
    www.patreon.com/user?u=3191693
    Follow me:
    Twitter: / sirajraval
    Facebook: / sirajology Instagram: / sirajraval
    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

КОМЕНТАРІ • 175

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

    Siraj, congratulations on your work. It's amazing. Shout out from Brazil!

  • @nsudhanva
    @nsudhanva 7 років тому +99

    Lol Linus with a GPU was the best part xD

    • @aayushgogia7210
      @aayushgogia7210 7 років тому

      Oh boy, it was damn funny..

    • @tirinox
      @tirinox 7 років тому

      timecode please

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

      1:33

  • @niko2756
    @niko2756 7 років тому

    thank you, i have actually been researching the best way to do this since the gru video. thank you so much

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

    Huge shot out! I have 5 days to train this model for my DL class and I was getting so many problems to set up training on the cloud

  • @chiranjeevipippalla
    @chiranjeevipippalla 4 роки тому +1

    Your background for the first ten seconds is 🔥

  • @FloFoer94
    @FloFoer94 7 років тому +1

    Thank you very much Siraj, very good & interesting content as always! :)
    I'm just getting started with DL so i will use my dell xps 15 notebook with gtx 1050 graphics for the start, but as soon as i feel i need it i will definitely give floydhub a try.
    I'm a student (Communications and Computer Engineering) and don't have the money to buy a big expensive local desktop (and i prefer portability)

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

    Fuckin' LOVE this channel, my man. Glad I found you, learning a ton.

  • @codemaster1768
    @codemaster1768 7 років тому

    Thanks A Lot Siraj!!!! This video was really helpful!!!

  • @simpleman5098
    @simpleman5098 7 років тому +2

    Hey SiraJ, is there a way to aggregate 2-3 GPU cards for a certain ml training task?

  • @debarokz
    @debarokz 7 років тому

    Awesome Siraj... very informative..

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

    So much supportive video, thanks Sir

  • @shandou5276
    @shandou5276 7 років тому

    This is really great! Experimenting with FloydHub as we speak.

  • @xPROxSNIPExMW2xPOWER
    @xPROxSNIPExMW2xPOWER 7 років тому

    that was suuuper easy! thanks siraj

  • @zHvyD
    @zHvyD 7 років тому +38

    I did my whole Udacity DL nano degree using AWS... I loved it... the trick was to terminate the instances after use so you don't accrue higher charges for storage and stuff..

    • @SirajRaval
      @SirajRaval  7 років тому +3

      awesome

    • @wolverinerocks1
      @wolverinerocks1 6 років тому +3

      Yeah I learnt that the hard way unfortunately...

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

      Yep also made that mistake :(

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

      got stung with that one! £300 worth. Moral of the story: Turn off AWS instances when you aren't using them!

  • @aminejadid2702
    @aminejadid2702 7 років тому

    Amazing like always !

  • @larryteslaspacexboringlawr739
    @larryteslaspacexboringlawr739 7 років тому

    thank you for deep-learning cloud video

  • @yashbheda3335
    @yashbheda3335 7 років тому +2

    hey @sarajraval , can u suggest some good AI/ML project for my final year engineering project? really having a hard time getting good ideas since I've no idea of this domain. big fan btw !! u make it look so easy.

  • @Ah4Petesake
    @Ah4Petesake 7 років тому +1

    how much faster was it to run in the cloud vs. regular spec on your laptop?

  • @chenchenwu1734
    @chenchenwu1734 7 років тому +1

    Thank you Siraj, that helps me a lot.

    • @williamhuang4523
      @williamhuang4523 7 років тому

      你有没有试过阿里云,它好像提供M40显卡,一直到9月份都免费

  • @themightyquinn1343
    @themightyquinn1343 7 років тому

    I saw you recommended Nvidia gpus, but could a radeon gpu also work? Vega has pretty high FLOPS. Do you need to use cuda for everything, or does opencl also work?

  • @ThomasTelandro
    @ThomasTelandro 7 років тому +12

    Great video as always! Many thanks for your amazing work!!!!!
    Just one feedback, your channel is amazing and full of resources but there is no way to know in which order to go through the contents. Naming videos with order and/or making a mind map or whatever to order your contents would an addition of great value ;-)
    (I know the Udacity content is ordered)

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

    dude tnq so much for the info

  • @vulnerablegrowth3774
    @vulnerablegrowth3774 7 років тому +1

    Cool!! I've been using AWS to practice, but it's a little pricey. I'm probably gonna use Google Cloud + Floydhub until I've used all my credits.

  • @joegarza2979
    @joegarza2979 7 років тому

    very nice . good job , all people like it , good luck , thanks,

  • @eliasoichen4293
    @eliasoichen4293 7 років тому +1

    I prefered google cloud so far, however i will try out Floyd to practice training. Thakns for the video

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

    Can I run a hello world script on gpu.?
    I mean, are only some frameworks like tf allowed to be run on gpu?

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

    So if I wanna start in deep learning is the best to buy a laptop with a GTX 1060 or a portable computer and then use floyd ? Help !!

  • @quebono100
    @quebono100 7 років тому

    First (17 Views), I asked my prof: Whats the diffrence in the calculation between cpu and gpu. He answered, GPU are better on float calculation. But your explanation is much better.

  • @AlexanderLourierAML
    @AlexanderLourierAML 7 років тому

    Did you try Google Cloud ML? It seems to accept tensorflow model and dataset on input and train it cost-effectively.

  • @josy26
    @josy26 7 років тому +1

    Siraj, love your videos congrats. Could you please do one for deploying a web ML app into production on AWS?

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

    So either way, if I choose Google or Amazon they will be able to see my developments and practices? And the data we use is it free, it's clean data, or what?

  • @niko2756
    @niko2756 7 років тому

    hey Siraj,
    do you still have the same recommendation now that google has announced their new cloud architecture?

  • @satishjasthi2500
    @satishjasthi2500 7 років тому

    Thanks a lot Siraj

  • @Alex-zh2bm
    @Alex-zh2bm 7 років тому

    can you do a vid IBM Watson vs Tensorflow for stock predications and using the cloud to scale the computing power

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

    I love your video ,,,You are amazing.

  • @itsRAWRtime007
    @itsRAWRtime007 7 років тому

    thanks a ton!!! didn't even know for floydhub

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

    Hi siraj.. will you say me how to deploy deep learning in mobile ?? I got confused of choosing gpu ..my theme is about prediction of cancer by images in mobile using deep learning. I need configuration it makes me to have clear picture .pls help me

  • @harshitagarwal5188
    @harshitagarwal5188 7 років тому

    Hey siraj, can you tell difference between a cell and a neuron wrt lstm net ?

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

    Is there any cloud GPU to run deep learning code in "JAVA "

  • @carlosiniscalchi2502
    @carlosiniscalchi2502 5 років тому +2

    Also colab research offers a tesla k80 for free. Is it a good option?

  • @frankwu98
    @frankwu98 7 років тому +2

    Hi Siraj can you make a video or recommend a video on hyperparameters optimization? Thanks

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

    Dude you're awesome! Please do more, and keep using memes.

  • @liperuf
    @liperuf 7 років тому

    thanks again, Siraj.

  • @michaelvandermeiden3152
    @michaelvandermeiden3152 7 років тому +20

    Hey Siraj! Will you be doing a video on converting 2D images to 3D models using deep learning? I would love to see that.

  • @jillgoodwin628
    @jillgoodwin628 7 років тому

    You are brilliant and so are the memes and graphics/videos; who does those?

  • @BlackXxScopez
    @BlackXxScopez 7 років тому +9

    it is no longer the titan xp, it is the tesla V100 with 120 teraflops of deep learning performance :).

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

    What is the defference between those clouds and google colab?

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

    I wonder: 1) Is cloud computing on Google's GCP automatically parallelized (means exploiting all given GPUs and CPUs optimally)? 2) Can I use one GCP account from several computers? (We need it at my company and several coworkers have to use the service)

  • @USBEN.
    @USBEN. 7 років тому +5

    I got exposed to this big data stuff on your channel , and i just found another reason to love computers :D !!

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

    please make more detail videos on this topic. Like how to train in google cloud and aws platform

  • @meneur07
    @meneur07 7 років тому

    How to make a Deep Learning Program that learn to Delete the Blur of an image ?

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

    Thanks for letting us know about Floyd. It's straightforward to use, I think.

  • @techinbits
    @techinbits 7 років тому

    What about ML cloud from google? How are those instances configured?

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

    THANK YOU!

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

    how can you run a carla simulator on the cloud

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

    Please review the Titan V. What's the real life speed up?

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

    is Gt840M Better For Deep Learning?

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

    What about ibm bluemix cloud platform?

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

    why not use a asic card for deep learning? how is asic card for bitcoin mining different from these GPU's ?

  • @TehGordonFreeman
    @TehGordonFreeman 7 років тому +2

    Could you cover IBM BlueMix?

  • @prakashyadav008
    @prakashyadav008 7 років тому +3

    Can u do a video on how to setup Google cloud for deep learning?

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

    What is the differences between Google Colab and Google Cloud?

  • @saurabhmarpadge7498
    @saurabhmarpadge7498 7 років тому +1

    What about TPU Cloud?

  • @adityasharma5723
    @adityasharma5723 7 років тому

    hi siraj,
    views on azure?

  • @hiteshvaidya3331
    @hiteshvaidya3331 7 років тому +1

    siraj any special video to be released for patreons?

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

    thanks

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

    Great vid bro! But can anyone clear my dumb? Should I use cloud computing when learning deep learning subject?

  • @saarlevy9891
    @saarlevy9891 7 років тому

    This is the speed you should go at. Slow enough to understand, fast enough to not get boring.

  • @suzukikenta1079
    @suzukikenta1079 7 років тому +1

    How long will it take to train a model like ResNet using GTX 1050 ? Let's say I will use it for typical kaggle competition. Is it enough to build a complex model that will lead me to being in high rank?

    • @zzMigMitzz
      @zzMigMitzz 7 років тому +3

      I'm using a pretrained resnet on my project, I have a gtx 1060 3gb, and believe me it's a hassle. The model barely fits on the memory, then I had to resize all the input images to 150*150 so that they fit. Typically in deep learning you'd want at least 4 gb. Many people recommend the 1070 and above.

    • @suzukikenta1079
      @suzukikenta1079 7 років тому

      Thank you!

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

    Hey guys! I was wondering what are the economic laptop options for deep learning. Also, please give me suggestions which are relevant for India.

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

    By the way, which one is Pink?

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

    Hi developers , what do you think about Paperspace ?

  • @diegoantoniorosariopalomin4977
    @diegoantoniorosariopalomin4977 7 років тому

    suposedly keras works well with amd cards , so it is best to use it or theano , to take advantage of cheaper hardware

  • @nickellis1553
    @nickellis1553 7 років тому

    was eating chips and could not hear half the video plz fix

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

    I think on AWS a spot instance with GPU (tesla k80) is around 0,20$ while a the same preemptible one on google cloud is 0,45$. Of course the pay per minute is a advantage.

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

    Using this cloud can I able to run yolov3

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

    How to run a model on cloud and test it into android?

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

    Hey Siraj, can you make a video on how to use Google Cloud ML Engine?

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

    How about paper space ??

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

    Harold & Kumar is the name of a series of American stoner comedy films starring John Cho and Kal Penn. The first film, Harold & Kumar Go to White Castle, was released in 2004 by New Line Cinema and was followed by two sequels, Harold & Kumar Escape from Guantanamo Bay and A Very Harold & Kumar 3D Christmas.

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

    Jetson TX1 is half price currently, and an awesome platform

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

    But Tesla k80 is now also used by Google colab like the last platform you talked in this video, though colab provides unlimited usages of their gpus. So it's better then heroku for deep learning providing only 100 gpu usage hours

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

    Hey Siraj, thank you for your objective view on which cloud provider to use. Can you please tell us what is your favorite option to go with?

  • @diegoantoniorosariopalomin4977
    @diegoantoniorosariopalomin4977 7 років тому

    i hear that upcoming boards of the new risc v cpu architecture will be relatively cheap , but good for training as they will have a massive number of tiny cores with support for half precision logic

  • @jakobj58
    @jakobj58 7 років тому

    pls show more of the results!!! like pictures

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

    AWS now offers per-second billing on their instances

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

    3:01 That's good.

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

    Is the floyd hub free?

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

    Just to train a model, you don't need well known services like aws and google, bc they are for big projects. For one task a small cloud provider and that will be seversl times cheaper

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

    I bought a Lenovo Laptop with a Quadro M1200 lets hope its good for DL. Now to just learn how to program well! xD

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

    Please make a video of Google's TPUs

  • @JayJay-vf2pg
    @JayJay-vf2pg 7 років тому +1

    Google Cloud is not cheaper than AWS, a lot of the time the biggest factor in the price for cloud computing is data transfer out. On AWS it's $0.07, on Google Cloud, it's $0.12 per GB. If you compare a lot of the services that are similar, Google is more expensive, for example, Google Cloud Functions are $0.40 per million invocations whereas AWS Lambda is $0.20 per million, and the execution time is more expensive on Google.

  • @VickySingh-iy4ov
    @VickySingh-iy4ov 5 років тому

    really you made it for programmers .... even kids will get bored of this

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

    Update: AWS is also available in pay per minute model now.

  • @AdityaSingh-qk4qe
    @AdityaSingh-qk4qe 6 років тому

    What about H20.ai & algorithmia

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

    Would u plz, add a video describing google colab plz

  • @altairpearl
    @altairpearl 7 років тому +16

    what about MS Azure ?

    • @FrankHerfert
      @FrankHerfert 7 років тому +4

      similar to AWS

    • @drhilm
      @drhilm 7 років тому +10

      I compared the new Azure vs. AWS vs IBM bluemix, with massive networks (ResNet) - Azure was the best, both in performance and price.

    • @altairpearl
      @altairpearl 7 років тому +1

      yeah, I'm using Azure . Thanks for clearing.

    • @stumblinzz
      @stumblinzz 7 років тому +2

      What about not MS azure?

    • @SirajRaval
      @SirajRaval  7 років тому +12

      nah

  • @osmanahsansheikh7562
    @osmanahsansheikh7562 7 років тому

    can i use this to train an different painting image and apply it on another image?

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

    1000th like!

  • @LinkSF1
    @LinkSF1 7 років тому +2

    You forgot to mention Nvidia's new Tesla Volta!
    Also, It's worth mentioning that GCP might make TPUs available on their platform. That'd be amazing.
    Correction: they just announced TPUs will be available for GCP at this year's I/O conference!