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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pytorch-gan-zoo-0.0.6.tar.gz.

File metadata

  • Download URL: pytorch-gan-zoo-0.0.6.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.15

File hashes

Hashes for pytorch-gan-zoo-0.0.6.tar.gz
Algorithm Hash digest
SHA256 46d227bc294ad6e62de92a903f25d1dc4f0a3f31305bedbe48587d808f56c60d
MD5 ecd5a0daf25e59c5e74b048a92bf9dfe
BLAKE2b-256 7106d9db2162d5a69c5f5833dc2536ed899da9537da64955c6e054f698dac9b8

See more details on using hashes here.

File details

Details for the file pytorch_gan_zoo-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pytorch_gan_zoo-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 444dd4c726a0825b6ac00b798321bf6655ec09c30a662e15134588650588f9d4
MD5 8bc52b22c043780839ae072f36330b07
BLAKE2b-256 401a0d9f91f46956b86901e190e96cbe9e796910a001f653d1ef166444d17efd

See more details on using hashes here.

Supported by

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