Codes for paper <On Incorporating Inductive Biases into VAEs>. InteL-VAE is a simple and effective method for learning VAEs with controllable inductive biases by using an intermediary set of latent variables. It allows us to impose desired properties like sparsity or clustering on learned representations, and incorporate prior information into the learned model.
run *_low_dim.ipynb in Jupyter notebook.
run train_*.sh
Hyper-parameters can be changed in .sh files.
run downstream_*.sh
Please run downstream tasks after training corresponding VAEs.
- Tensorflow
>= 2.2.0
- sklearn (Only for downstream tasks.)
- Pillow (PIL)
- fid_score (Only for calculating FID scores.)