PyTorch library for generative modeling
Top 69.0% on sourcepulse
This library provides PyTorch implementations of state-of-the-art generative models, offering useful abstractions for common building blocks and utilities for training and debugging. It targets researchers and practitioners in deep learning who want to easily experiment with and implement generative models. The library aims to simplify the process of building, training, and reproducing results from various generative architectures.
How It Works
The library offers both high-level model implementations (e.g., ImageGPT
, PixelSNAIL
) and lower-level building blocks (e.g., CausalAttention
, NCHWLayerNorm
). This modular design allows users to either directly use pre-built models or construct custom architectures by composing these reusable components. The approach emphasizes providing clean, reference implementations that facilitate reproducibility and understanding of complex generative models.
Quick Start & Requirements
git clone https://www.github.com/EugenHotaj/pytorch-generative
cd pytorch-generative
pip install -r requirements.txt
python -m unittest discover
.train.py
script with the --model
and --logdir
arguments. Example: python train.py --model image_gpt --logdir /tmp/run --use-cuda
. TensorBoard integration is provided for visualization.pytorch_generative
directory into the top-level directory.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
requirements.txt
might imply.1 year ago
1 day