Giter Site home page Giter Site logo

chained_ld's Introduction

On the Mode-Seeking Properties of Langevin Dynamics

This repo contains the official implementation for the paper On the Mode-Seeking Properties of Langevin Dynamics by Xiwei Cheng, Kexin Fu, and Farzan Farnia.

Getting started

To train a neural network for chained Langevin dynamics on the original and flipped images from the MNIST dataset, run

python3 main.py  --runner ChainedRunner  --doc chained_mnist_flip  --config chained_mnist_flip.yml

Then the model will be trained according to the configuration files in configs/chained_mnist_flip.yml, and the log files will be stored in run/logs/chained_mnist_flip.

To generate images using chained Langevin dynamics with 30000 iterations, run

python3 main.py  --test  --test_iter 30000  --runner ChainedRunner  --doc chained_mnist_flip  --config chained_mnist_flip.yml

Then the generated samples will be saved in run/logs/chained_mnist_flip/images_iter30000.

References

The implementation is based on the paper Generative Modeling by Estimating Gradients of the Data Distribution (code).

chained_ld's People

Contributors

xiwei-cheng avatar

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.