k-diffusion
Karras et al. (2022) diffusion models for PyTorch
File Explorer
Download Latest Version (.zip)- python-publish.yml
- config_32x32_small.json
- config_32x32_small_butterflies.json
- config_cifar10.json
- config_cifar10_transformer.json
- config_mnist.json
- config_mnist_transformer.json
- config_oxford_flowers.json
- config_oxford_flowers_shifted_window.json
- __init__.py
- axial_rope.py
- flags.py
- flops.py
- image_transformer_v1.py
- image_transformer_v2.py
- image_v1.py
- __init__.py
- augmentation.py
- config.py
- evaluation.py
- external.py
- gns.py
- layers.py
- sampling.py
- utils.py
- .gitignore
- config_from_inference.py
- convert_for_inference.py
- LICENSE
- make_grid.py
- pyproject.toml
- README.md
- requirements.txt
- sample.py
- sample_clip_guided.py
- setup.cfg
- setup.py
- train.py
๐ Installation Guide
1. Get the code
git clone https://github.com/crowsonkb/k-diffusion
Downloads the entire project code from GitHub to your computer.
cd k-diffusion
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install datasets
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install datasets
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
