diff --git a/README.md b/README.md index deaab34..cf47eef 100644 --- a/README.md +++ b/README.md @@ -62,4 +62,10 @@ Step 29999 Test ELBO estimate: -106.803 Test log p(x) estimate: -97.620 Total time: 2.350 minutes ``` -(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.) \ No newline at end of file +(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.) + +# Generating the GIFs + +1. Run `python train_variational_autoencoder_tensorflow.py` +2. Install imagemagick (homebrew for Mac: https://formulae.brew.sh/formula/imagemagick or Chocolatey in Windows: https://community.chocolatey.org/packages/imagemagick.app) +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`