An implementation of the paper "Variational Autoencoders with Arbitrary Conditional" in TensorFlow 2.0. This implementation is based on the original code by the paper authors (link)
pip install virtualenv
virtualenv -p python3 .env
source .env/bin/activate
pip install -r requirements.txt
python run.py --mode prepare
python run.py --mode debug
python run.py --mode train
python run.py --mode inpaint
We train the model in 40 epochs on the CelebA dataset. Below are some inpainted results generated by our trained model. The first column indicates input images with arbitrary masks to be inpainted. The last column indicates ground truth images. And the remaining columns are inpainted images.
References
- Oleg Ivanov, Michael Figurnov, Dmitry Vetrov. Variational Autoencoder with Arbitrary Conditioning. ICLR 2019 (arxiv)