Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

A very simple generative adversarial network (GAN) in PyTorch

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.