Skip to content

Fork of Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch

License

Notifications You must be signed in to change notification settings

petrzjunior/diffusers

 
 

Repository files navigation

Diffusers for path planning

Fork of Hugging Face Diffusers by Petr Zahradník with additional features and fixes for 1D diffusion.

Sampled paths

Courtesy of the master's thesis "Diffusion models for path planning". Will be published soon.

Features added to 1D U-Net:

  • Coalesce U-Net block classes for consistency
  • Allow tuning of many internal parameters (normalization, activation, padding, time embedding)
  • Support for Dropout
  • Support for LoRA convolution
  • Simplify ResNet skip connections handling

Why? Upstream implementation follows closely Janner's Diffuser. Our fork diverges to simplify both the implementation and usage. The code is rewritten to follow the 2D U-Net which is much more advanced.

Installation

This fork is not published on pip. It must be installed from the source code:

pip install .

Usage

Refer to the Diffusers documentation, this fork is mostly compatible.

The training script used in the thesis is in train.py.

Credits

License: Apache-2.0 by HuggingFace Team and Petr Zahradník

About

Fork of Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • Python 99.9%
  • Other 0.1%