ligerfotis / crvae

This is the implementation of the paper: "CR-VAE: Contrastive Regularization on Variational Autoencoders for Preventing Posterior Collapse"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

Python 3.8
pip install torch==1.8.2+cu111 torchvision==0.9.2+cu111 torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
pip install opencv-python==4.5.5.64 opencv-contrib-python==4.5.5.64
pip install -r requirements.txt

Train

python3 main.py 

About

This is the implementation of the paper: "CR-VAE: Contrastive Regularization on Variational Autoencoders for Preventing Posterior Collapse"


Languages

Language:Python 96.5%Language:Shell 3.5%