Coder Social home page Coder Social logo

bluematrix007 / coopnets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zilongzheng/coopnets

0.0 1.0 0.0 4.23 MB

Cooperative Learning of Energy-Based Model and Latent Variable Model via MCMC Teaching

License: MIT License

Python 100.00%

coopnets's Introduction

Cooperative Learning of Energy-Based Model and Latent Variable Model via MCMC Teaching

This repository contains a tensorflow implementation for the paper "Cooperative Learning of Energy-Based Model and Latent Variable Model via MCMC Teaching". (http://www.stat.ucla.edu/~ywu/CoopNets/main.html)

Requirements

Usage

First, download Imagenet-scene dataset and save it to ./data directory:

$ python download.py scene

To train a model with alp dataset:

$ python main.py --category alp --data_dir ./data/scene --output_dir ./output --num_epochs 300 --batch_size 100 --d_lr 0.01 --g_lr 0.0001

synthesized results will be saved in ./output/alp/synthesis

To test generator by synthesizing interpolation results with trained model:

$ python main.py --test --sample_size 144 --category alp --output_dir ./output --ckpt ./output/alp/checkpoints/model.ckpt

testing results will be saved in ./output/alp/test

Results

Results of MIT Place205 dataset

Descriptor result descriptor

Generator result generator

Interpolation result interpolation

Reference

@inproceedings{coopnets,
    author = {Xie, Jianwen and Lu, Yang and Gao, Ruiqi and Wu, Ying Nian},
    title = {Cooperative Learning of Energy-Based Model and Latent Variable Model via MCMC Teaching},
    booktitle = {The 32nd AAAI Conference on Artitifical Intelligence},
    year = {2018}
}

For any questions, please contact Jianwen Xie ([email protected]) and Zilong Zheng ([email protected])

coopnets's People

Contributors

enijkamp avatar zilongzheng avatar

Watchers

 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.