k-diffusion

(β˜… 2,600)

Karras et al. (2022) diffusion models for PyTorch

  • .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 Recommended
Prerequisites
  • 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

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
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