PyTorch reimplementation for DeepMind's BigGAN model
Top 36.8% on sourcepulse
This repository provides a PyTorch implementation of DeepMind's BigGAN, offering pre-trained weights for generating high-fidelity images at 128x128, 256x256, and 512x512 resolutions. It's designed for researchers and developers looking to leverage state-of-the-art GANs for image synthesis tasks.
How It Works
The implementation is an op-for-op reimplementation of the original TensorFlow BigGAN, ensuring behavioral similarity. It focuses on the generator component, utilizing conditional batch normalization and pre-computed batch norm statistics for various truncation values to control image fidelity and diversity. The approach allows for direct loading of DeepMind's pre-trained weights, simplifying integration.
Quick Start & Requirements
pip install pytorch-pretrained-biggan
git clone https://github.com/huggingface/pytorch-pretrained-BigGAN.git && cd pytorch-pretrained-BigGAN && pip install -r full_requirements.txt
Highlighted Details
Maintenance & Community
This project is part of the Hugging Face ecosystem. Further community engagement and roadmap information can typically be found on the main Hugging Face GitHub repository or associated platforms.
Licensing & Compatibility
The repository's license is not explicitly stated in the provided README. Users should verify licensing terms for commercial use or integration into closed-source projects.
Limitations & Caveats
The discriminator component is not implemented due to the unavailability of pre-trained weights. The display_in_terminal
utility requires a libsixel-compatible terminal.
4 years ago
1 day