Skip to content

Cosmo-Pop/flowfusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flowfusion

Static Badge Static Badge Static Badge

Generative modelling and density estimation using diffusion models and flow-matching.

The code in this repository was developed as part of Alsing et al. (2024), and Thorp et al. (2024, 2025). In lieu of a more specific reference, please cite those papers if you make use of the code included here. Please also cite the papers associated with any dependencies of the code, particularly Chen et al. (2018), which describes torchdiffeq.

Installation

To install the code, please clone this repo:

  git clone https://github.com/Cosmo-Pop/flowfusion

Then move into the top level directory and run:

  pip install .

To install flowfusion without updating the dependencies:

pip install poetry
poetry install --no-update

This will obtain any dependencies and will install the code, which can then be imported in Python by doing:

import flowfusion

References

The code in this repository was developed and applied in the following papers:

For the mathematical underpinnings of the different modules within the code, please see (and consider citing) the following references, which our implementations largely follow:

flowfusion.diffusion

flowfusion.flow

flowfusion.symplectic

About

Generative modelling using diffusion models and flow-matching

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages