Autoencoder In PyTorch - Theory & Implementation

preview_player
Показать описание
In this Deep Learning Tutorial we learn how Autoencoders work and how we can implement them in PyTorch.

Get my Free NumPy Handbook:

📓 ML Notebooks available on Patreon:

If you enjoyed this video, please subscribe to the channel:

Resources:

More PyTorch Tutorials:
Dataloader: PXOzkkB5eH0

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

#Python PyTorch

Timeline:
00:00 - Theory
02:58 - Data Loading
05:30 - Simple Autoencoder
15:02 - Training Loop
17:00 - Plot Images
19:00 - CNN Autoencoder
29:12 - Exercise For You

----------------------------------------------------------------------------------------------------------
* This is an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Рекомендации по теме
Комментарии
Автор

Let me know if you enjoyed the new animations in the beginning and want to see this more in the future :)

patloeber
Автор

For python 3.11+, pytorch 2.3+ change the dataiter.next() to next(dataiter)

maharshipathak
Автор

big thanks to you. i cannot imagine how could i learn my dl course without your tutorial. Your work is the best in youtube so far!

jh-pqtp
Автор

Its reaallly nice but it would be a very nice addition to include variational autoencoders and Generative adversial networks as well :). Maybe they can be helpful to many struggling with class imbalance during classification

saadmunir
Автор

This channel is so underrated.Please upload tutorials about Django

astridbrenner
Автор

I love all your PyTorch videos, please do more :D

starlite
Автор

at 22:17 when calculating the shape of the conv output, it should be 128*128*1 => 64*64 * 16 and the rest should also be different accordingly

ayankashyap
Автор

Hey Patrick a really informative and concise video! Thoroughly enjoyed it :DD Just a small correction at 12:51, you used the word dimension while explaining the Normalize transform, whereas the two attributes are just the mean and standard deviation of the resultant normalized data.

adityasaini
Автор

Thank you so much for clear presentation of Autoencoder!

saeeddamadi
Автор

Thank you for your nice tutorials please do the same for a non-image data. I'm curious to see CNN auto-encoders with non-image data.

shahinghasemi
Автор

It should be noted that the performance difference between Linear and CNN as shown here comes from the chosen compression factor. Linear chose 12 Byte per image, CNN chose 256 Byte per image, where an original image is 784 Byte. So, the CNN code does not compress enough, less than PNG actually! You need two more linear layers to compress 64 down to 16 and then 4.

falklumo
Автор

This channel is really good, I learned PyTorch from this channel. Guys I assure you subscribe to this channel.

Mesenqe
Автор

Great video! Could you provide the same walkthrough for a variational autoencoder? Or point point me to a good walkthrough on the theory and implementation of a variational autoencoder?

huoguo
Автор

Thank you so much, you explained it really good.

ingenuity
Автор

This might be a stupid question, but why do the output images have no white border, because I thought we simply padded them to be 28x28, as otherwise they would be 27x27, no?

duzx
Автор

Bro always waiting for your pyt🔥rch video ....🤙🏼🤙🏼🤙🏼

saurrav
Автор

hello, nice videos you have. looking forward new videos on paper review and implementations.

garikhakobyan
Автор

Please can you do for a network intrusion detection

aisidamayomi
Автор

Great animations my suggestion is to add in more animations not only in theory but also in the working of the code . Just my suggestion but great video thanks for Ur teaching.

devadharshan
Автор

I don't understand a little bit the sintaxis. Why do you define the method 'forward' but never call it explicitly ? Maybe the line "recon = model(img)" is where you are using it, but I didn't know that it could be done like this. I would had written "recon = model.forward(img)", is it the same ?

martinmayo
welcome to shbcf.ru