Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.17 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.17 KB

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