PyTorch implementation of OpenAI's Glow generative flow paper
Top 61.8% on sourcepulse
This repository provides a PyTorch implementation of OpenAI's "Glow: Generative Flow with Invertible 1x1 Convolutions" paper. It's designed for researchers and practitioners interested in generative modeling, offering a functional implementation of the Glow architecture for image generation and attribute manipulation tasks.
How It Works
The implementation follows the paper's description, utilizing invertible 1x1 convolutions for permutation and affine coupling layers for feature transformation. This design allows for efficient computation of the log-likelihood and direct sampling from the learned distribution, enabling high-quality generative modeling. Modules are adapted from the official TensorFlow version for robustness.
Quick Start & Requirements
pip install -r requirements.txt
(assuming requirements.txt exists)python train.py <hparams> <dataset> <dataset_root>
python infer_celeba.py <hparams> <dataset_root> <z_dir>
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
6 years ago
1 week