Skip to main content

Implementation of GAN models in PyTorch.

Project description

GAN-zoo

Train and evaluate basic FC-GAN:

# train on fashion-mnist
python -m ganzoo.examples.basic_gan.train_fc \
    --z_dim=100 --num_hidden_units=256 \
    --network_type=fc-large \
    --dataset_name=fashion-mnist

# evaluate
python -m ganzoo.examples.basic_gan.eval_fc \
    lightning_logs/version_1/checkpoints/epoch\=99-step\=337600.ckpt \
    --output_dir lightning_logs/version_1/outputs

A collection of GAN models implemented in PyTorch:

  • Basic GAN on MNIST code
  • Conditional GAN on MNIST code
  • Pix2Pix on FACADES dataset code

References - part 1

References - part 2

  • Improved Techniques for Training GANs arxiv
  • On Convergence and Stability of GANs arxiv
  • Which Training Methods for GANs do actually Converge? arxiv
  • Is generator conditioning causally related to GAN performance? arxiv
  • The unusual effectiveness of averaging in gan training arxiv
  • cGANs with projection discriminator arxiv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytorch-gan-zoo-0.0.6.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

pytorch_gan_zoo-0.0.6-py3-none-any.whl (23.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page