Coder Social home page Coder Social logo

mini-stochastic-interpolants's Introduction

Stochastic interpolants

This repository contains a minimal implementation of some concepts related to stochastic interpolants in JAX, based on this paper by Michael S. Albergo, Nicholas M. Boffi, Eric Vanden-Eijnden.

Disclaimer: This implementation is meant to be didactic. For a more functional version (in Pytorch), see the repository published by the authors of the paper here.

Installation

Before installing this project, and after creating & activating your virtual environment, you must install JAX yourself because CPU and GPU backends require different installation commands. See here for instructions. For the small examples, pip install jax[cpu] will suffice. For the bigger demos, a GPU is helpful.

Then, move to the root of the directory and run

pip install .

This command installs all requirements (Flax, Optax, etc.).

Then, find the content as

from stochint import *

Demonstrations

Find the demos in demos/.

Acknowledgements

Thanks to Paul Jeha (@pablo2909) for teaching us how to write a name with 2d samples.

mini-stochastic-interpolants's People

Contributors

ilmiofrizzantinoamabile avatar pnkraemer avatar

Stargazers

 avatar  avatar

Watchers

 avatar

mini-stochastic-interpolants's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.