Тёмный

The StatQuest Introduction to PyTorch 

StatQuest with Josh Starmer
Подписаться 1,2 млн
Просмотров 147 тыс.
50% 1

PyTorch is one of the most popular tools for making Neural Networks. This StatQuest walks you through a simple example of how to use PyTorch one step at a time. By the end of this StatQuest, you'll know how to create a new neural network from scratch, make predictions and graph the output, and optimize a parameter using backpropagation. BAM!!!
To learn more about Lightning: lightning.ai/
The code demonstrated this video can be downloaded here:
lightning.ai/lightning-ai/stu...
This StatQuest assumes that you are already familiar with...
Neural Networks: • The Essential Main Ide...
Backpropagation: • Neural Networks Pt. 2:...
The ReLU Activation Function: • Neural Networks Pt. 3:...
Tensors: • Tensors for Neural Net...
To install PyTorch see: pytorch.org/get-started/locally/
To install matplotlib, see: matplotlib.org/stable/users/g...
To install seaborn, see: seaborn.pydata.org/installing...
For a complete index of all the StatQuest videos, check out...
app.learney.me/maps/StatQuest
...or...
statquest.org/video-index/
If you'd like to support StatQuest, please consider...
Buying The StatQuest Illustrated Guide to Machine Learning!!!
PDF - statquest.gumroad.com/l/wvtmc
Paperback - www.amazon.com/dp/B09ZCKR4H6
Kindle eBook - www.amazon.com/dp/B09ZG79HXC
Patreon: / statquest
...or...
RU-vid Membership: / @statquest
...a cool StatQuest t-shirt or sweatshirt:
shop.spreadshirt.com/statques...
...buying one or two of my songs (or go large and get a whole album!)
joshuastarmer.bandcamp.com/
...or just donating to StatQuest!
www.paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
/ joshuastarmer
0:00 Awesome song and introduction
1:38 Coding preliminaries
2:15 Creating a neural network in PyTorch
7:54 Graphing the neural network's output
10:47 Optimizing a parameter with backpropagation
#StatQuest #NeuralNetworks #PyTorch

Опубликовано:

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 348   
@statquest
@statquest 2 года назад
The code demonstrated this video can be downloaded here: lightning.ai/lightning-ai/studios/statquest-introduction-to-coding-neural-networks-with-pytorch?view=public&section=all To learn more about Lightning: lightning.ai/ This StatQuest assumes that you are already familiar with... Neural Networks: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CqOfi41LfDw.html Backpropagation: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IN2XmBhILt4.html The ReLU Activation Function: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-68BZ5f7P94E.html Tensors: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-L35fFDpwIM4.html To install PyTorch see: pytorch.org/get-started/locally/ To install matplotlib, see: matplotlib.org/stable/users/getting_started/ To install seaborn, see: seaborn.pydata.org/installing.html Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/
@yongjiewang9686
@yongjiewang9686 2 года назад
REALLY Hope you can continue with this PyTorch tutorial.
@statquest
@statquest 2 года назад
@@yongjiewang9686 Will do!
@shichengguo8064
@shichengguo8064 2 года назад
Do we have video talking about transformer? Thanks.
@statquest
@statquest 2 года назад
@@shichengguo8064 Not yet, but soon.
@Mayur7Garg
@Mayur7Garg Год назад
Just a small comment. Any variable should not be named similar to any builtin in Python. The 'input' variable in forward should have been called something else since it is already a builtin function in Python. Otherwise, you end up overriding the builtin within that scope.
@santoshmohanram536
@santoshmohanram536 2 года назад
Favorite teacher with my favorite Deep learning framework. Lucky to have you. Thanks brother🙏
@statquest
@statquest 2 года назад
Wow, thanks
@firesongs
@firesongs 2 года назад
Please continue to go through every single line of code including the parameters with excruciating detail like you do. None of my professors went over each line like that cuz they always "assumed we already knew" and everyone in the class who didnt already know was afraid to ask to avoid looking stupid. Thank you.
@statquest
@statquest 2 года назад
Thanks! Will do!
@youlahr7589
@youlahr7589 2 года назад
Ive used PyTorch for projects before, but I can honestly say that I never fully understood the workings of building a model. I knew that i needed the peices you mentioned, but not why I needed them. You've just explained it incredibly. Please don't stop making this series!!
@statquest
@statquest 2 года назад
Thank you very much! :)
@insushin6139
@insushin6139 4 месяца назад
StatQuest is the GOAT in statistics, machine learning, and deep learning! You're videos are really helping me understanding the concepts and outline of these fields! Love from Korea!
@statquest
@statquest 4 месяца назад
Thank you!
@gummybear8883
@gummybear8883 2 года назад
What a blessing this is. You are indeed the Richard Feynman of Data Science.
@statquest
@statquest 2 года назад
Thank you!
@frederikschnebel2977
@frederikschnebel2977 2 года назад
Thanks so much for this gem John! Literally got a PyTorch project coming up and your timing is just perfect. Greatly appreciate the content, keep up the good work :)
@statquest
@statquest 2 года назад
Thank you!
@sapnasharma4476
@sapnasharma4476 2 года назад
Thanks for the awesome tutorial! You make the most difficult things so easy to understand, specially with the visuals and the arrows and all! The comments written on the right hand side make it so more helpful to pause and absorb. I would never miss a video of your tutorials!
@statquest
@statquest 2 года назад
Hooray! I'm glad you like my videos. :)
@the_real_cookiez
@the_real_cookiez 2 года назад
Quality educational content! It's so cool to see your channel grow. Been here since ~90k subs! Very well earned.
@statquest
@statquest 2 года назад
Wow! Thank you very much!!! BAM! :)
@karlnikolasalcala8208
@karlnikolasalcala8208 8 месяцев назад
YOU ARE THE BEST TEACHER EVER JOSHH!! I wish you can feel the raw feeling we feel when we watch your videos
@statquest
@statquest 8 месяцев назад
Thank you?
@saralagrawal7449
@saralagrawal7449 26 дней назад
Just watched matrix multiplication of Transformers. My mind was blown away. Same things appear so complex but when this guy explains them, it's like peanuts. Triple BAM
@statquest
@statquest 26 дней назад
Bam! :)
@kaanzt
@kaanzt 11 месяцев назад
That's really cool explanation! Please continue this PyTorch series, we really need it. BAM!
@statquest
@statquest 11 месяцев назад
Will do!
@AlbertsJohann
@AlbertsJohann 2 года назад
What a great feeling when it all clicks after learning about all these concepts in isolation. All thanks to an incredibly brilliant teacher! Triple BAM!!!
@statquest
@statquest 2 года назад
Hooray!!! Thank you!
@veronikaberezhnaia248
@veronikaberezhnaia248 2 года назад
Amazing content, as always. Before I was a bit afraid to start closing in torch, so thank you to encourage le to do that!
@statquest
@statquest 2 года назад
bam! You can do it! :)
@amirhosseinafkhami2606
@amirhosseinafkhami2606 2 года назад
Great explanation as always! Thanks for making content like this, which complements the theoretical concepts.
@statquest
@statquest 2 года назад
Glad you liked it!
@footballistaedit25
@footballistaedit25 2 года назад
Thanks for the best content you bring. I hope you continue to make a full pytorch playlist
@statquest
@statquest 2 года назад
That's the plan!
@footballistaedit25
@footballistaedit25 2 года назад
@@statquest Thank you so much
@xedvap
@xedvap Год назад
Looking forward to seeing your following videos! Excellent explanation!
@statquest
@statquest Год назад
Awesome, thank you!
@anashaat95
@anashaat95 Год назад
This series about neural networks and deep learning is very well explained. Thank you soooooooo much.
@statquest
@statquest Год назад
Thank you!
@jessicas2978
@jessicas2978 2 года назад
Thank you so much, Josh. I have been learning PyTorch and deep learning. This video helps me a lot!
@statquest
@statquest 2 года назад
Great to hear!
@jamilahmed2926
@jamilahmed2926 9 месяцев назад
I have lived long enough to watch videos and understand nothing about ML stuffs, until I saw your videos. I truly wish your well being
@statquest
@statquest 9 месяцев назад
Thank you!
@Ajeet-Yadav-IIITD
@Ajeet-Yadav-IIITD 2 года назад
Thank you Josh, pls continue this series of pytorch!
@statquest
@statquest 2 года назад
Will do!
@jonnhw
@jonnhw 2 года назад
Was looking for a pytorch resource and was disappointed when this channel didnt have one yet but then this got uploaded. Really a blessing to the people haha
@statquest
@statquest 2 года назад
Thanks!
@StratosFair
@StratosFair 2 года назад
Nice video, looking forward to the next ones on Pytorch Lightning !
@statquest
@statquest 2 года назад
Me too! BAM! :)
@viveksundaram4420
@viveksundaram4420 2 года назад
Man, you are love. I started my neural net journey from your videos and it's the best decision I made. Thank you
@statquest
@statquest 2 года назад
Hooray!
@someone5781
@someone5781 2 года назад
Woo! Been waiting for this sort of a tutorial!!!
@statquest
@statquest 2 года назад
bam!
@binhle9475
@binhle9475 Год назад
AMAZING video. This is exactly what beginners need to start the Pytorch journey with a semi solid footing instead of mindless copying. Yoy must have spent so much time for your AWESOME videos. GREATLY appreciate your effort. Keep up the good work.
@statquest
@statquest Год назад
Thank you very much! :)
@kwang-jebaeg2460
@kwang-jebaeg2460 2 года назад
Wonderful !!! Cant wait your pytorch lightning code for NN. Always thanks alot !!
@statquest
@statquest 2 года назад
bam! :)
@kleanthivoutsadaki5989
@kleanthivoutsadaki5989 Год назад
thanks Josh, you really make understanding Neural Networks concepts a great process!
@statquest
@statquest Год назад
Thank you! :)
@ais3153
@ais3153 2 года назад
BIG LIKE before watching 👍🏻 please continue the pytorch series
@statquest
@statquest 2 года назад
Will do! :)
@AHMAD9087
@AHMAD9087 2 года назад
The tutorial we all needed 🙂
@statquest
@statquest 2 года назад
Hooray!
@justinhuang8034
@justinhuang8034 2 года назад
Man the content keeps getting better
@statquest
@statquest 2 года назад
Thank you!
@exxzxxe
@exxzxxe Год назад
Another charming, fully informative masterpiece.
@statquest
@statquest Год назад
Thank you very much! BAM! :)
@mahammadodj
@mahammadodj Год назад
Thank you very much! I am new to Deep Learning. I can say that just in one week i learned a lot of things from your tutorials!
@statquest
@statquest Год назад
Happy to hear that!
@yashsurange7648
@yashsurange7648 Год назад
Thanks for this amazing walk through.
@statquest
@statquest Год назад
Thanks!
@MugIce-lr6ui
@MugIce-lr6ui 12 дней назад
Hello! Not sure if anyone's pointed this out yet, but the code on 10:14, 12:09, and 22:42 needs a small addition, `plt.show()`, or else it won't show the graph. Though, maybe 2 years ago when this video was made you didn't need that, I'm not sure, haha. Other than that, this is an awesome tutorial that quite literally takes anyone through the process step-by-step, and even tells you some neat fun facts (like the sns nickname) and explanations like how `loss.backward()` works. TRIPLE BAM indeed! Thanks for the awesome tutorials and videos you put out 👍
@statquest
@statquest 12 дней назад
Thanks! Did you run my code or type it in yourself? I keep the jupyter notebook updated.
@jwilliams8210
@jwilliams8210 Год назад
Absolutely brilliant!
@statquest
@statquest Год назад
Thank you! :)
@Sandeepkumar-dm2bp
@Sandeepkumar-dm2bp 2 года назад
very well explained, thank you for providing quality content, it's very helpful
@statquest
@statquest 2 года назад
Glad it was helpful!
@anggipermanaharianja6122
@anggipermanaharianja6122 2 года назад
Awesome vid by the legend!
@statquest
@statquest 2 года назад
Thank you!
@bjornnorenjobb
@bjornnorenjobb 2 года назад
omg! I have really wanted this! awesome!!! :) :) :)
@statquest
@statquest 2 года назад
Hooray! :)
@jawadmansoor6064
@jawadmansoor6064 Год назад
Great series.
@statquest
@statquest Год назад
Thank you!
@MariaHendrikx
@MariaHendrikx 8 месяцев назад
I love how you you visualize and synchronize the code with the maths behind it :) On top of that you are doing it step-wise which results in a really awesome and very eduSupercalifragilisticexpialidociouscational video! #ThankYou
@statquest
@statquest 8 месяцев назад
I love it. Thank you very much! :)
@arer90
@arer90 2 года назад
Thank you for perfect lecture~!!!
@statquest
@statquest 2 года назад
Thank you!
@Luxcium
@Luxcium 4 месяца назад
I am someone who loves *SQ,* and *JS* style of teaching in byte 😅 pieces but I also hate _snakes…_ I love *JavaScript* and *TypeScript* but I’ve been learning *JavaScript* with the _strictest linting rules_ one would imagine… and given how *JavaScript* could be used without any sort of strict rules (and is very similar to *Python* in this context) it is frustrating that it makes *Python* very hard to understand despite being easier since it has not the same stricter rules I have imposed myself learning *JavaScript…* but I am also genuinely grateful that *JS* is the best instructor for this kind of topics because *JS* has a _Ukulele,_ *StatSquatch* and *Normalsaurus* which are all there to help *JS* make *SQ* awesome 🎉🎉🎉🎉 Thanks 😅😅😅❤
@statquest
@statquest 4 месяца назад
bam!
@onkarpandhare
@onkarpandhare 2 года назад
great video! very well explained!!!👍👍
@statquest
@statquest 2 года назад
Thank you!
@carlitosvh91
@carlitosvh91 2 месяца назад
Great explanation. Thank you very much
@statquest
@statquest 2 месяца назад
Thanks!
@praptithapaliya6570
@praptithapaliya6570 Год назад
I love you Josh. God bless you. You're my favorite teacher.
@statquest
@statquest Год назад
Thank you! 😃!
@darshuetube
@darshuetube Год назад
it's great that you are making videos on coding as well.
@statquest
@statquest Год назад
Thank you!
@_epe2590
@_epe2590 2 года назад
finally! some simple to understand content on how to make an AI model using pytourch!!! TRIPLE BAM!!!!
@statquest
@statquest 2 года назад
Hooray!
@mohammadalikhani7798
@mohammadalikhani7798 9 месяцев назад
That Was Nice ! Thank You
@statquest
@statquest 9 месяцев назад
Glad you liked it!
@aabshaarahmad7853
@aabshaarahmad7853 2 года назад
Hi! This is amazing. Are you gonna continue this series? Out of ten different rabbitholes I have been to, this video has been the most helpful for me with understanding PyTorch and starting off with my project. Please continue making more complicated models. Thank you :)
@statquest
@statquest 2 года назад
That's the plan!
@lloydchan9606
@lloydchan9606 2 года назад
bless josh and this channel
@statquest
@statquest 2 года назад
Thank you!
@whispers191
@whispers191 2 года назад
Thank you Josh!
@statquest
@statquest 2 года назад
Bam!
@mohsenmoghimbegloo
@mohsenmoghimbegloo 2 года назад
Thank you very much Mr Josh Starmer
@statquest
@statquest 2 года назад
Thanks!
@stivraptor
@stivraptor 2 года назад
Hey Josh! Guess what just arrived in the mail.... My new statquest mug!!!!! Hooray!!!
@statquest
@statquest 2 года назад
BAM!!! Thank you so much for supporting StatQuest!!!
@aayushjariwala6256
@aayushjariwala6256 2 года назад
It amazes me, when I see no NLP video on StatQuest! Josh your explanation are always higher than what one can expect and you have created so many series including maths and conceptual understanding. NLP has the same importance compared to computer vision and actually people are suffering to learn it by lack of content availability! I hope you would create a series or maybe a few videos on basic concepts which help people to get interested in NLP : ) Hope you are doing good in life Josh
@statquest
@statquest 2 года назад
I'm working on NLP.
@vans4lyf2013
@vans4lyf2013 2 года назад
@@statquest Yay so glad to hear this, we really need you because no one gives great explanations like you do. Also your youtube comments are the nicest I've ever seen which is a testament to how valued you are in this community.
@statquest
@statquest 2 года назад
@@vans4lyf2013 Thank you very much!
@Luxcium
@Luxcium Год назад
Wow 😮 I didn't knew I had to watch the *Neural Networks part 2* before I can watch the *The StatQuest Introduction To PyTorch* before I can watch the *Introduction to coding neural networks with PyTorch and Lightning* 🌩️ (it’s something related to the cloud I understand) I am genuinely so happy to learn about that stuff with you Josh❤ I will go watch the other videos first and then I will back propagate to this video...
@statquest
@statquest Год назад
Warmer...
@sanjaykrish8719
@sanjaykrish8719 2 года назад
wow.. super excited
@statquest
@statquest 2 года назад
Hooray!
@nicolasreinaldet732
@nicolasreinaldet732 2 года назад
Guess who was going to start programing a neural network in python today...... God bless you Josh, becase He know how much you are blessing me with your work. And know that Jesus loves you and want to be part of your life.
@statquest
@statquest 2 года назад
Thanks!
@isaacpeng3625
@isaacpeng3625 2 года назад
great video and explanation! me have been struggling in pytorch coding
@statquest
@statquest 2 года назад
Bam! :)
@AkmKawserOfficial
@AkmKawserOfficial Год назад
Really Awesome
@statquest
@statquest Год назад
Thanks 🤗
@emilyli6763
@emilyli6763 2 года назад
honestly wish I had this a year ago when I was struggling, still watching now tho!
@statquest
@statquest 2 года назад
Bam! :)
@Hitesh10able
@Hitesh10able 10 месяцев назад
Another excellent video, one humble request please provide video on Stable Diffusion Models.
@statquest
@statquest 10 месяцев назад
I'll keep that in mind.
@BrianBin
@BrianBin 2 года назад
Your teaching video is awesome
@statquest
@statquest 2 года назад
Thank you!
@BrianBin
@BrianBin 2 года назад
@@statquest Do you have intro to lightning ? I kind of remember you mentioned in the video you seemed to have one?
@statquest
@statquest 2 года назад
@@BrianBin That's going to be the next video in this series. It will come out in a few weeks.
@junechu9701
@junechu9701 Год назад
Soooooooo thankful!
@statquest
@statquest Год назад
bam! :)
@sceaserjulius9476
@sceaserjulius9476 2 года назад
I am also learning Deep Learning, and want to apply it to make good projects, This is going to be great.
@statquest
@statquest 2 года назад
bam!
@ISK_VAGR
@ISK_VAGR 2 года назад
That is a big leap. I need to check it several times to understand it since I am not a programmer. However, I really got a good feeling of what is happening inside the code. I actually use codeless systems such as KNIME. So if Mr. Sasquatch, get the idea of using KNIME to explain all this, It will be amazing. Thanks to be such a good teacher.
@statquest
@statquest 2 года назад
I'll keep that in mind.
@carol8099
@carol8099 2 года назад
this video is gold
@statquest
@statquest 2 года назад
Thank you!
@WeeeAffandi
@WeeeAffandi 2 года назад
Josh explaining the code is far better than any programmer
@statquest
@statquest 2 года назад
Thank you!
@05747100
@05747100 2 года назад
Thanks a lot, beg for Pytorch Series playlist.
@statquest
@statquest 2 года назад
Soon!
@theblueplanet3576
@theblueplanet3576 4 месяца назад
Enjoying this series on machine learning. By the way there is no shame in self promotion, you deserve it 😁
@statquest
@statquest 4 месяца назад
Thanks 😅
@animegod567
@animegod567 2 года назад
Thanks for this
@statquest
@statquest 2 года назад
:)
@peterkanini867
@peterkanini867 Год назад
Please make an entire tutorial about the ins and outs of PyTorch!
@statquest
@statquest Год назад
I've made several PyTorch videos and will continue to make more. You can find the others here: statquest.org/video-index/
@Irrazzo
@Irrazzo Год назад
Thank you, good explanation! 16:00 Python prefers for-each-loops over index-based loops. See how this equivalent for-each loop looks much simpler. for input, label in zip(inputs, labels): output = model(input) loss = (output - label)**2 loss.backward() total_loss += float(loss)
@statquest
@statquest Год назад
Great tip!
@pfever
@pfever Год назад
Best tutorial like usual! would be nice to see more advanced examples of in pytorch, like CNN for image classification :)
@statquest
@statquest Год назад
I'm working on them.
@getingbored
@getingbored 10 месяцев назад
Thank you :)
@statquest
@statquest 10 месяцев назад
You're welcome!
@petercourt
@petercourt 2 года назад
Amazing work Josh!
@statquest
@statquest 2 года назад
Thank you!
@neginamirabadi4595
@neginamirabadi4595 2 года назад
Hello Josh! Thank you so much for your amazing videos! I have learned so much from your tutorials and would not have been able to advance without them! I wanted to ask whether it is possible for you to put some videos on times series analysis, including autoregression (AR), moving average (MA) and their combinations. I would be more than grateful if you can provide such a video. Thank you so much.
@statquest
@statquest 2 года назад
I'll keep those topics in mind!
@vladimirbosinceanu5778
@vladimirbosinceanu5778 2 года назад
omg this is amazing
@statquest
@statquest 2 года назад
bam! :)
@minglee5164
@minglee5164 2 года назад
Wonderful
@statquest
@statquest 2 года назад
Thank you!
@abbddos
@abbddos 2 года назад
This was great... I hope you can simplify Tensorflow the same way... big big thank you.
@statquest
@statquest 2 года назад
Thanks!
@jianzhen3
@jianzhen3 Год назад
thank you so much to explained it so clearly, if I didn't click the sumb up button, that will be my guilty
@statquest
@statquest Год назад
Thank you! :)
@kobic8
@kobic8 Год назад
great presentation!! thanks again for simplfying this topic! are you planning to post more on NN implementation? computer vision maybe or object detection?
@statquest
@statquest Год назад
Yes, there will be many more videos on how to implement NNs.
@karrde666666
@karrde666666 2 года назад
better than MIT or any university slides
@statquest
@statquest 2 года назад
Thank you!
@aaronm6675
@aaronm6675 2 года назад
Finally🔥
@statquest
@statquest 2 года назад
:)
@arijitchaki1884
@arijitchaki1884 5 месяцев назад
Hi Josh, sorry to be a spoil sport, but I used exact same code and my prediction is showing 0.5 for dosage of 0.5 and it is running for all 100 epoch and final b value comes out to be -16.51 😔. But yes the concept is clear!! Great work! I always ask people whoever are interested in learning about data science or machine learning to refer you channel. Seeing your channel grow from 10-20K to a Mn is pleasure to my eyes!! You are the "El Professor"!!
@statquest
@statquest 5 месяцев назад
Thank you very much! If you look at my actual code (follow the link), you'll see that I actually pulled a trick with the data to get it to train faster.
@joshstat8114
@joshstat8114 4 месяца назад
Nice video for the introduction of LSTM using PyTorch. There is also `torch` R package that doesn't need to install python and torch. It's so nice that R also has deep learning framework aside from `tensorflow` and I recommend you to maybe try it.
@statquest
@statquest 4 месяца назад
Thanks for the info!
@joshstat8114
@joshstat8114 4 месяца назад
@@statquest i strongly recommend it because it is so nice that R has own deep learning frameworks, besides h2o
@HtHt-in7vt
@HtHt-in7vt 2 года назад
I would be appreciated if you can teach more an deeper in pytorch. Thank you so much!
@statquest
@statquest 2 года назад
That's the plan. This is just the first of many videos on how to code neural networks. The next video will be on pytorch lightning, and then we'll start to create more advanced models.
@ShawnShi-hy9ed
@ShawnShi-hy9ed Месяц назад
Hi Josh, thanks for your video. I am confused why it doesn't work when I am trying to optimize any other weights and bias. five minutes later, I think I have got the answer from the comments and your reply. Thanks again!
@statquest
@statquest Месяц назад
bam
@sabaaslam781
@sabaaslam781 Год назад
Hi Josh. I am a big fan of your videos. I have a question regarding this quest. In this video, we optimized only one parameter. How can we optimize all the parameters? Thanks in advance.
@statquest
@statquest Год назад
I show how to impute all of the parameters in this video on LSTMs in PyTorch: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-RHGiXPuo_pI.html (if you want to learn about the theory of LSTMs, see: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YCzL96nL7j0.html
@EmilyBoInvests
@EmilyBoInvests 2 года назад
Awesome video! Thanks, Josh! Can you please explain what super() does in the _init_()?
@statquest
@statquest 2 года назад
Great question! So, we're making a new class that is derived from nn.Module, and nn.Module, is derived from something else, and all those things need to be initialized, so "super()" does that for us.
@guramikeretchashvili1569
@guramikeretchashvili1569 2 года назад
So interesting videos and good explanations. I am wondering which software you use to make these cool visualizations?
@statquest
@statquest 2 года назад
I share all my secrets here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-crLXJG-EAhk.html
@user-ej1nj5ry6l
@user-ej1nj5ry6l 2 года назад
KOREAN BAMMMM!!! TY StatQuest😁
@statquest
@statquest 2 года назад
Awesome!!! BAM! :)
@Thamizhadi
@Thamizhadi 2 года назад
Hi Josh, thank you for introducing pytorch to me. I have an off topic question. How do you create your videos? They look like a series of animated slides. I want to emulate your style for creating presentation slides.
@statquest
@statquest 2 года назад
I give away all of my secrets in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-crLXJG-EAhk.html
@DS-nr9zc
@DS-nr9zc 2 года назад
bro i love you
@statquest
@statquest 2 года назад
:)
@pratikm3345
@pratikm3345 2 года назад
Whenever we get a video with vectors and matrices as inputs and weights, can we also see pytorch code to visualise the generated computation graph?
@statquest
@statquest 2 года назад
It depends on how many inputs and outputs the neural network has.
@silveromayo4148
@silveromayo4148 Год назад
Thanks for the great video. Does this apply directly to GNN? Can I apply it there?
@statquest
@statquest Год назад
To be honest, I don't know much about GNNs right now so I can't answer your question.
@user-dk9yr7my5r
@user-dk9yr7my5r 7 месяцев назад
im tring to download your notebook but i cant see a hubspot form on your article. is there any regional block or something?
@statquest
@statquest 7 месяцев назад
Sorry about that. For now you can get the files here: github.com/StatQuest/pytorch_lightning_tutorials
@milanvarady
@milanvarady 2 года назад
If I would like the neural network to optimize all the other parameters by itself and not just the final bias, how would I go about that? Or is it even possible with such a small network? I tried setting the other parameters to 0 and requires_grad to True, but that doesn't seem to work.
@statquest
@statquest 2 года назад
To be honest, I'm not certain why it is so hard to train all of the parameters at the same time in this neural network. It seems like there are tons of local minimums, and unless you get really lucky with the initial values for each parameter, you will get stuck in a local minimum and fail to get to the global minimum. This may be a function of the simplicity of the neural network - I built this one by hand by simplifying a more complex neural network. The simplification was needed so that I could easily draw it on the screen.
@andreblanco
@andreblanco 2 года назад
Triple bam!
@statquest
@statquest 2 года назад
BAM! Thank you very much for supporting StatQuest!!!!
@att.6134
@att.6134 Год назад
When I change w00 to -1.70 (i.e. put a minus in front of the number that the video suggested) and I set `requires_grad=True` then I thought it would possibly optimize this value back to around +1.70 - however, it fails. Any ideas of why that is?
@statquest
@statquest Год назад
There's not enough data here to do anything more complicated than what's illustrated in the video. However, you can optimize everything in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-RHGiXPuo_pI.html
Далее
Tensors for Neural Networks, Clearly Explained!!!
9:40
Zlatan embarrasses Speed 😂 #ishowspeed
00:32
Просмотров 2,7 млн
PyTorch vs TensorFlow | Ishan Misra and Lex Fridman
3:47
Long Short-Term Memory (LSTM), Clearly Explained
20:45
Просмотров 506 тыс.
PyTorch Autograd Explained - In-depth Tutorial
13:42
Просмотров 102 тыс.
Andrew Ng: Opportunities in AI - 2023
36:55
Просмотров 1,8 млн
Word Embedding and Word2Vec, Clearly Explained!!!
16:12
But what is a convolution?
23:01
Просмотров 2,5 млн
This is why Deep Learning is really weird.
2:06:38
Просмотров 365 тыс.
Autoencoder In PyTorch - Theory & Implementation
30:00