#138 · Primary category: Image Generation

pytorch-pretrained-BigGAN

artificial-intelligence biggan computer-vision gan generative-adversarial-network neural-network pytorch

🦋A PyTorch implementation of BigGAN with pretrained weights and conversion scripts.

Project last updated:02/12/21

GitHub Stars

1.0K

Forks

178

Contributors

2

License

MIT

Why we included this project

This is a PyTorch port of DeepMind's BigGAN that tracks the original TensorFlow implementation closely, with output differences on the order of 1e-5. It ships with pretrained generator weights at 128, 256 and 512 pixel resolutions, so you can load a model and produce ImageNet-scale images without training anything yourself. The repo also includes the scripts that pull the weights from TensorFlow Hub and convert them, which saves real time if you have wrestled with TF-to-PyTorch conversions before. One honest caveat: only the generator is included, since DeepMind never released the discriminator weights. For generative art, synthetic training data, or just studying how a large GAN is structured, this is a compact codebase worth reading.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category