Skip to content
/ DC-VAE Public

A re-implementation of DC-VAE, advanced generative model that combines instance-level discriminative loss and set-level adversarial loss for improved image reconstruction and synthesis.

License

Notifications You must be signed in to change notification settings

hcagri/DC-VAE

Repository files navigation

Gaurav Parmar, Dacheng Li, Kwonjoon Lee, Zhuowen Tu

CVPR 2021

Model

Figure: Sampling Results of Re-implementation.

This folder provides a re-implementation of this paper in PyTorch, developed as part of the course METU CENG 796 - Deep Generative Models. The re-implementation is provided by:

Please see the jupyter notebook file main.ipynb for a summary of paper, the implementation notes and our experimental results.

Installation

First anaconda package manager has to be installed on your system.
Then, to create the correct dependecies, run the below command.

conda env create --file requirements.txt

Note: This requirements txt is only for cpu use
Activate the conda environment

conda activate DC-VAE-env

To train the model use the below command. This command will start training, and creates a runs folder on the main directory where the metrics and logs of each experiment are easily tracktable.

python run.py

Produce qualitative and quantitative results with pre-trained model, look for the RESULTS part in main.ipynb

About

A re-implementation of DC-VAE, advanced generative model that combines instance-level discriminative loss and set-level adversarial loss for improved image reconstruction and synthesis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published