You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dual Pyramid Generative Adversarial Networks for Semantic Image Synthesis
Official PyTorch implementation of the BMVC 2022 paper "Dual Pyramid Generative Adversarial Networks for Semantic Image Synthesis
". The code allows the users to
reproduce and extend the results reported in the study. Please cite the paper when reporting, reproducing or extending the results.
This repository implements the DP_GAN model, which generates realistic looking images from semantic label maps. In addition, many different images can be generated from any given label map by simply resampling a noise vector (first two rows of the figure below). The model also allows to just resample parts of the image (see the last two rows of the figure below). Check out the paper for details, as well as the appendix, which contains many additional examples.
Setup
First, clone this repository:
git clone https://github.com/sj-li/DP_GAN.git
cd DP_GAN
The code is tested for Python 3.7.6 and the packages listed in environment.yml.
The basic requirements are PyTorch and Torchvision.
The easiest way to get going is to install the dp_gan conda environment via