https://github.com/devnag/pytorch-generative-adversarial-networks
A very simple generative adversarial network (GAN) in PyTorch
https://github.com/devnag/pytorch-generative-adversarial-networks
deep-learning gan gans machine-learning pytorch
Last synced: over 1 year ago
JSON representation
A very simple generative adversarial network (GAN) in PyTorch
- Host: GitHub
- URL: https://github.com/devnag/pytorch-generative-adversarial-networks
- Owner: devnag
- License: apache-2.0
- Created: 2017-02-11T01:15:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-30T21:44:59.000Z (almost 5 years ago)
- Last Synced: 2024-07-31T21:55:48.953Z (almost 2 years ago)
- Topics: deep-learning, gan, gans, machine-learning, pytorch
- Language: Python
- Size: 8.79 KB
- Stars: 1,515
- Watchers: 50
- Forks: 455
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.