GitHunt
ME

mese79/GANs_experiments

Some basic GANs codes and experiments

GANs Experiments

This code was written using the PyTorch and contains several straightforward examples of Generative Adversarial Networks (GANs) consists of experiments on synthetics data and the MNIST dataset.


Requirements:

  • python 3.6+
  • pytorch 1.4+
  • torchvision
  • matplotlib

Running the code:

python 1d_gaussian.py
# or   
python mnist.py

You can pass 1 (or any non-zero number) as a cmd parameter to save information about an experiment or save an image for each plot as training proceeds. For this purpose, two options exist at the beginning of each experiment's code: save_model to save information about the model configuration and save_figs to save plot shots.

plot

Languages

Python100.0%

Contributors

Created September 29, 2019
Updated September 19, 2025