Skip to content

Commit 2dd2a78

Browse files
author
Jaan Altosaar
authored
Update README.md
1 parent 1165075 commit 2dd2a78

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,10 @@ Step 29999 Test ELBO estimate: -106.803 Test log p(x) estimate: -97.620
6262
Total time: 2.350 minutes
6363
```
6464

65-
(The difference between a mean field and inverse autoregressive flow may be due to several factors, chief being the lack of convolutions in the implementation. Residual blocks are used in https://arxiv.org/pdf/1606.04934.pdf to get the ELBO closer to -80 nats.)
65+
(The difference between a mean field and inverse autoregressive flow may be due to several factors, chief being the lack of convolutions in the implementation. Residual blocks are used in https://arxiv.org/pdf/1606.04934.pdf to get the ELBO closer to -80 nats.)
66+
67+
# Generating the GIFs
68+
69+
1. Run `python train_variational_autoencoder_tensorflow.py`
70+
2. Install imagemagick (homebrew for Mac: https://formulae.brew.sh/formula/imagemagick or Chocolatey in Windows: https://community.chocolatey.org/packages/imagemagick.app)
71+
3. Go to the directory where the jpg files are saved, and run the imagemagick command to generate the .gif: `convert -delay 20 -loop 0 *.jpg latent-space.gif`

0 commit comments

Comments
 (0)