Skip to content

PyTorch implementation of Generative Adversarial Networks by Ian Goodfellow.

License

Notifications You must be signed in to change notification settings

TahaBinhuraib/PyTorch-GANs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Gans Implementation

PyTorch implementation of Generative Adversarial Networks by Ian Goodfellow.

Please feel free to play around with the code. The aim of this repository is to allow researchers to try different ideas in regards to GANs.

Installation and Setup

  1. Create your anaconda env

    conda create -n myenv python=3.7
  2. Install packages using pip

    pip install -r requirements.txt

Running the Python File 🐍

python main.py --n_batch 64 --seed 10

You can take a look at the flags for any other hyperparameters you would like to experiment with.

Results

GANs are notoriously hard to train. They are extremely sensitive to hyperparameters, especially the learning rate. However, you can try tinkering around with the learning rate to achieve better results.

Generated data at epoch 0

random noise ❌

After 88 epochs 🕦

Contributing

Please feel free to contribute. Pull requests are welcome. My goal is to manage a repositor that is comprehensive in nature, and easy to understand for beginners.

License

MIT

About

PyTorch implementation of Generative Adversarial Networks by Ian Goodfellow.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages