The Unofficial PyTorch Optimization Loop Song

A fun song to help you remember how to write a training loop and a testing loop in PyTorch.
The jingle is not endorsed by PyTorch whatsoever.
Materials for this video come from the Learn PyTorch for Deep Learning book - learnpytorch.io
Learn PyTorch for Deep Learning course (coming soon) - github.com/mrdbourke/pytorch-...
Connect elsewhere:
Web - dbourke.link/web
Twitter - / mrdbourke
Twitch - / mrdbourke
ArXiv channel (past streams) - dbourke.link/archive-channel
Get email updates on my work - dbourke.link/newsletter
#pytorch #deeplearning

Пікірлер: 83

  • @andreplo
    @andreplo Жыл бұрын

    At first, I thought that this was the cringiest thing I've ever witnessed. After a few days of doing your course I caught myself singing to this song while writting my loops. Thank you for this masterpiece!!

  • @NicholasRenotte
    @NicholasRenotte2 жыл бұрын

    This is so damn good, when’s the mixtape dropping?!

  • @e0n662
    @e0n6622 жыл бұрын

    My god. This guy is the ideal boyfriend. From fitness, to ML contents to learning efficiently, to a musician, to side hustles. Your partner would be lucky to have you. P.S, you are an inspiration. I am just a fan.

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    I showed my girlfriend this comment and she loved it - thank you for the kind words

  • @user-bv5vt1dt8d
    @user-bv5vt1dt8d2 жыл бұрын

    Okay Daniel, we will still love you

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    ❤️

  • @zayyanushuaibu6188
    @zayyanushuaibu618810 ай бұрын

    I almost give up to master the training loop procedure, your course and the song have make it very easy for me. Thank you so much.

  • @mrdbourke

    @mrdbourke

    10 ай бұрын

    You got this! Just remember… “for an epoch in a rangeee 🎶”

  • @justinclark8673
    @justinclark86738 ай бұрын

    Daniel, taking your class now. Your teaching style is great. Your enthusiasm infectious. Thank you for your wonderful lecture series. I love this.

  • @mostafamohamad8210
    @mostafamohamad8210 Жыл бұрын

    Awesome , thank you I will never forget it

  • @kakyoism
    @kakyoismАй бұрын

    It inspires me that coding is storytelling, and telling a story through music is essentially how our ancestors told many long-lasting lores. That art is not lost from our coding tribe! Thanks Daniel

  • @krutikashimpi626
    @krutikashimpi626Ай бұрын

    Enough now... I'm adding this to my playlist. 🎶

  • @yashbachhav6962
    @yashbachhav69622 жыл бұрын

    This is so amazing Sir🎵🎵

  • @irshaadbahemia666
    @irshaadbahemia6662 жыл бұрын

    Hello Daniel Bourke, do you work both structured data and unstructured data?. If you work with structured data as well do you perform data normalisation into 1NF, 2NF, 3NF and sometimes use SQL ?

  • @thimothelamoureux5718
    @thimothelamoureux57187 ай бұрын

    Hey Daniel, thanks for your great PyTorch course with clear explanations and for being yourself. I wasn't a big fan of the song but it is catching me by surprise. Most interestingly, after 1 play of your song, my partner can now "train a model" despite having no ML interest :D

  • @dhruvilshah7770
    @dhruvilshah77702 жыл бұрын

    Hey! in the video setting m1 pro MacBook Pro for machine learning video if the base terminal changes due to some circumstances how can I get back to base terminal ?

  • @vasanthvel501
    @vasanthvel501 Жыл бұрын

    His way of teaching 5/5 . I'm searching my One Piece (day 7 -> learning PyTorch with his lecture) 🔥

  • @criticalanalyst7546
    @criticalanalyst75462 жыл бұрын

    Daniel i am literally obsessed with your content, love u, keep it up. some questions, how much machine learning do we need to learn to land a job? how many languages? is python sufficient?

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Thank you for the kind words. Python is sufficient to start, maybe a little bit of SQL. Here is my best advice on getting a job: www.mrdbourke.com/how-can-a-beginner-data-scientist-like-me-gain-experience/

  • @daletrusky2052
    @daletrusky2052 Жыл бұрын

    Added it to my study playlist so i will neveerrrrr forget Good book selection at the end btw

  • @niundisponible
    @niundisponible Жыл бұрын

    I am in the time series chapter of your TensorFlow course in Udemy (I recommend it, as still TensorFlow is the most popular framework for deep learning), I can't stress enough how much I've learned thanks you your helpful material! Wish you loads of success man, and don't stop!

  • @mrdbourke

    @mrdbourke

    Жыл бұрын

    Glad to hear you're enjoying it!!! thank you for the kind words!

  • @Aliaksandr89
    @Aliaksandr89 Жыл бұрын

    jajaja. I like it. currently im whatching the Pytorch course. It´s soo good. Congrats

  • @shubhamgattani5357
    @shubhamgattani535721 күн бұрын

    Yes, I admit that I sing this song every time I am writing the Training loop

  • @matthewkay1327
    @matthewkay1327 Жыл бұрын

    In the grim dark future of the 40k yadda yadda mankind's tech priests sing songs to the machine spirits. . . . This is that song.

  • @philipbutler
    @philipbutler2 жыл бұрын

    Thanks Daniel. Now while doing my ML hw I can't read "loss" without singing in my head, "Calculate the losss"🎶 lmao

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Hahaha! That’s epic to hear! The jingle is stuck in my head too… I feel like I want to learn everything via jingle now

  • @karthikbharadhwaj9488
    @karthikbharadhwaj94886 ай бұрын

    I want a DJ version of this masterpiece ! 🕺🕺

  • @sanjayn5201
    @sanjayn52012 жыл бұрын

    We still love you Daniel...

  • @harsha4074
    @harsha4074 Жыл бұрын

    spotify link?

  • @razbarryz
    @razbarryz10 ай бұрын

    LEGENDARY

  • @zombeeDeadPool
    @zombeeDeadPool8 ай бұрын

    thankyou guru ji

  • @thabocalebjen
    @thabocalebjen Жыл бұрын

    Excellent teacher!🤣

  • @VsVBattery
    @VsVBattery4 ай бұрын

    The calves on this guy, jeeez...

  • @phonethiriyadana
    @phonethiriyadana2 жыл бұрын

    Next step is official music video with instruments 😄

  • @akashuday7107
    @akashuday7107 Жыл бұрын

    the beat drops hard

  • @SerobZeromintis
    @SerobZeromintis Жыл бұрын

    at first I tought it was kind of cringe lol, but now I think this is pretty funny haha, thank you

  • @LLlikeme
    @LLlikeme2 жыл бұрын

    Still my sensei! ❤❤

  • @xXMaDGaMeR
    @xXMaDGaMeR Жыл бұрын

    cheezy, love it.

  • @praveenpitawala8422
    @praveenpitawala84228 ай бұрын

    i like it broo.....

  • @10mgentile
    @10mgentile Жыл бұрын

    Does Tensorflow have a song too?

  • @mrdbourke

    @mrdbourke

    Жыл бұрын

    “Build the model, call model dot compile, set the loss, optimizer and learning rateeeeee, call model dot fit and watch the loss go down down down!”

  • @dreamphoenix
    @dreamphoenix Жыл бұрын

    This is going platinum! Thank you.

  • @mrdbourke

    @mrdbourke

    Жыл бұрын

    Losssss backwardsssss!

  • @timandersen2386
    @timandersen23862 жыл бұрын

    The best 100% best

  • @davepunk2077
    @davepunk20773 ай бұрын

    Daniel do you have a song in spotify?😅

  • @mrdbourke

    @mrdbourke

    3 ай бұрын

    Perhaps I should release ML-based songs to Spotify! hahaha

  • @davepunk2077

    @davepunk2077

    3 ай бұрын

    Cant wait bro😂😂

  • @merv893
    @merv893 Жыл бұрын

    Cring time lol, best teacher. Feeling bit sick after that. Thanks for all the free training

  • @mrdbourke

    @mrdbourke

    Жыл бұрын

    Hahaha! I need to practice my singing skills :P

  • @__-vk2gk
    @__-vk2gk Жыл бұрын

    He can sing too?! geeeeez amazing!!!!

  • @meeqvin
    @meeqvin11 ай бұрын

    omg he is enjoying with his song .as i do

  • @tusharpatel2003
    @tusharpatel2003 Жыл бұрын

    Heyy, Denial you are very best teacher i want to mee you in physical mode 🙌❤️

  • @ShivanS
    @ShivanS2 жыл бұрын

    is this on spotify? they should at least teach this in school. c'mon now!

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Coming to a streaming service near you soon

  • @paulrowland9741

    @paulrowland9741

    2 жыл бұрын

    @@mrdbourke I have done your tensor flow course on Udemy. However I would love it if you had one o Pytorch - Do you?

  • @zoroXgamings
    @zoroXgamings2 жыл бұрын

    Are we really doing it 😎 pytroch now

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    We sure are, stay tuned for more ;)

  • @king-sd5mp
    @king-sd5mp2 жыл бұрын

    Today I became your student sir

  • @saminchowdhury7995
    @saminchowdhury79952 жыл бұрын

    Or alternatively Pytorch Lightning ⚡

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Very valid alternative

  • @aliyusifov5481
    @aliyusifov54812 жыл бұрын

    Does it mean PyTorch course is coming?😍😍😍😍😍😍

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Stay tuned ;)

  • @philipbutler
    @philipbutler2 жыл бұрын

    W

  • @btp9576
    @btp95762 жыл бұрын

    Come up with a PEMDAS for this and it will sink it too haha

  • @Romb_Studio
    @Romb_Studio2 ай бұрын

    100%

  • @timandersen2386
    @timandersen23862 жыл бұрын

    Toe tapper

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    🕺

  • @ShaikAsad
    @ShaikAsad2 жыл бұрын

    hahaha nice!

  • @peterwan1808
    @peterwan18082 ай бұрын

    This is based 😎

  • @amadios9874
    @amadios98742 жыл бұрын

    that's borderline genius

  • @shchen16
    @shchen16 Жыл бұрын

    wth

  • @ApteraEV2024
    @ApteraEV2024 Жыл бұрын

    Nice!!)) L😆L £♡✌️€ it!!))

  • @ApteraEV2024

    @ApteraEV2024

    Жыл бұрын

    I'll work on ä Tune too)) I always wanted to be ä Producer))

  • @chrissgouros7282
    @chrissgouros72827 ай бұрын

    honestly dude, this is the cringiest thing ever. Thanks for the free lessons

  • @garynico9872
    @garynico98722 жыл бұрын

    Nah this ain't it 🤣

  • @gileneusz
    @gileneusz9 ай бұрын

    very good song, but please don't do it again

  • @n.ganadily8973
    @n.ganadily89732 жыл бұрын

    Unsubscribed ✔️

  • @sapirmardan2557
    @sapirmardan25573 ай бұрын

    Lets train! for an epoch in arange call model.train do forward pass calculate the loss optimizer zero grad loss backwards optimizer step step step lets test! call model.eval with torch inference mode do forward pass calculate the loss print out what's happening for a another epoch... dont forget to save, save, save

  • @mrdbourke

    @mrdbourke

    3 ай бұрын

    🕺 And dance as the loss goes down down down!

  • @sapirmardan2557

    @sapirmardan2557

    3 ай бұрын

    I sing it all day long :D@@mrdbourke