Skip to content

Commit

Permalink
Add files.
Browse files Browse the repository at this point in the history
  • Loading branch information
thjashin committed Jul 8, 2018
1 parent 10db359 commit 37f25f5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion README.md
@@ -1,2 +1,35 @@
# spectral-stein-grad
Code for "A Spectral Approach to Gradient Estimation for Implicit Distributions"
Code for "A Spectral Approach to Gradient Estimation for Implicit Distributions" (ICML 18)
https://arxiv.org/abs/1806.04326

## Dependencies
* [Tensorflow >= 1.8](https://www.tensorflow.org)
* [ZhuSuan >= 0.3.1](https://github.com/thu-ml/zhusuan)

## Get Started
```
python -m toy.guassian
```
![toy_results](results/gaussian.png)

### Implicit VAEs
Train plain VAE on CelebA:
```
python -m vae.vae_celeba
```
Train implicit VAE on CelebA using entropy gradients estimated by SSGE:
```
python -m vae.vae_celeba_implicit
```

## Citation
To cite this work, please use
```
@InProceedings{shi2018spectral,
title = {A Spectral Approach to Gradient Estimation for Implicit Distributions},
author = {Shi, Jiaxin and Sun, Shengyang and Zhu, Jun},
booktitle = {Proceedings of the 35th International Conference on Machine Learning},
pages = {4651--4660},
year = {2018},
}
```
Binary file added results/gaussian.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 37f25f5

Please sign in to comment.