Skip to content

dirmeier/rectified-flow

Repository files navigation

Rectified flows

status ci

A rectified flow implementation in Flax

About

This repository implements a rectified flow which has been proposed in Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow using JAX and Flax.

Example usage

The experiments folder contains a use case where samples from the "Wto Moonss" data set are transported to the "Eight Gaussian" data set. To train a model and make visualizations, call:

cd experiments/eight_gaussians_two_moons
python main.py

Shown below are samples from the two moons data set (black) that have been transported to the eight Gaussians data set(blue). Each figure shows the transport map after x training iterations.

Installation

To install the latest GitHub , just call the following on the command line:

pip install git+https://github.com/dirmeier/rflow@<RELEASE>

Author

Simon Dirmeier sfyrbnd @ pm me

About

A rectified flow implementation in Flax

Topics

Resources

License

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy