The Diffusion model, which can be run by simply installing torch, helps us learn the main components of the algorithm. The code is extremely simple and readable, you can simply read the code and comments to learn everything.
- Add VAE to the diffusion model.
- Implement parameter configuration.
- Implement diffusion with DiT.
- Implement VAR model.
python ddpm_train.py
python ddpm_inference.py
python vqvae_train.py
python vqvae_inference.py