Building a GAN From Scratch With PyTorch | Theory + Implementation

preview_player
Показать описание
Learn how to create a GAN (Generative Adversarial Network) from scratch with PyTorch and PyTorch Lightning.

Resources:

▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Timestamps:
00:00 Intro
00:31 GAN Theory
03:29 PyTorch Lightning Setup
06:42 Generator + Discriminator
10:21 GAN Training
28:50 Testing

#MachineLearning #DeepLearning
Рекомендации по теме
Комментарии
Автор

Wow awesome video! I like this style where you give the intuition for a project first and then go about implementing it. I hope there's more like this in the future!

stuartallen
Автор

Callback.on_epoch_end has been removed in v1.8. I replaced that line with on_train_epoch_end

julio
Автор

It's my second time watching it, I"ll make sure to watch again for better understanding

tianbowen
Автор

awesome video, this video make me alignment more to GAN

TuanNguyen-suty
Автор

For anyone getting errors, related to `unexpected keyword gpus` or related to manual optimization, consider downgrading your version of `pytorch-lightnning` to 1.5.10.
When he shows the documentation he's following it's hard to tell but it's in the top right corner.
Heaven forbid he adds that to the description or in one of the many previously asked questions...

mamase
Автор

Awesome video! Which is the version of pytorch lightning you were using at that time?

giannissavvas
Автор

I keep getting an error "training_step() missing 1 required positional argument: 'optimizer_idx'" If I set optimizer_idx=0 or =1 then it works and I've tried upto 65 epochs, doesn't seems to change the output at all still the exact same noise image which I get before any training.

vijaygill
Автор

Thanks a lot. Could you please make another tutorial about GAN for time series.

Mohamm-ed
Автор

The GColab code only includes the classes for the generator and discriminator, it looks like the rest of the code is missing or was deleted?

ericbader
Автор

This tutorial is amazing. Easy steps, nice code review. Even a beginner could follow along all the steps. Still I reproduce every code twice I'm getting this error 'GAN' object has no attribute '_backward_hooks'. Could help me to solve this?

germanogomes
Автор

Excellent video, but has the full notebook been posted somewhere?

junjuljunjul
Автор

how to use GAN model for Multi modal image data like RGB, Depth and infrared images ?

zainmalik
Автор

I have a question, im trying to do a GAN to generate new data but from 32x32 data, ive seen many Docs about changing the parámeters in the generator and discriminator, but My gan fails to train. How can i modify this one to fit those picture sizes? The data i'm using si the htru1 dataset with pulsar data. Or can You point me to something to read? Thanks

sergioruppel
Автор

when I tried to train....an error occurred: TypeError: Trainer.__init__() got an unexpected keyword argument to fix it?

rohitray
Автор

does the optimizer index solution still work with newer lightning versions? I get the following error "Training with multiple optimizers is only supported with manual optimization"

fizzleee
Автор

no explanation, he's just reading the code lines aloud.

tiwaritejaswo
Автор

Thank you!
As I know that dude also have a great python channel

unknownhero
Автор

Excellent!! Can you please update the colab link. the one in the description does not contain full code.

DeepakSingh-jizo
Автор

How can I add custom dataset into this script

enveripar
Автор

sir please do create video on diffusion which will describe model through practical using pytorch or tensorflow like this

saqibrajaputtv
visit shbcf.ru