69

GitHub - devnag/pytorch-generative-adversarial-networks: A very simple generativ...

 4 years ago
source link: https://github.com/devnag/pytorch-generative-adversarial-networks
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Generative Adversarial Networks (GANs) in PyTorch

Introduction

See https://medium.com/@devnag/generative-adversarial-networks-gans-in-50-lines-of-code-pytorch-e81b79659e3f#.sch4xgsa9 for the relevant blog post.

Running

Run the sample code by typing:

./gan_pytorch.py

...and you'll train two nets to battle it out on a shifted/scaled Gaussian distribution. The 'fake' distribution should match the 'real' one within a reasonable time.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK