Perceptual Adversarial Networks (PAN) for Image-to-Image Transformation.
- Clone this repo:
git clone https://github.com/WANG-Chaoyue/PAN.git
cd PAN
- Install Theano 1.0.0+, lassagne 0.2+.
The training datasets were similar pix2pix. Therefore, we borrowed the code of dataset download from them.
- Download facades dataset:
bash ./datasets/download_pix2pix_dataset.sh facades
@inproceedings{isola2017image,
title={Image-to-Image Translation with Conditional Adversarial Networks},
author={Isola, Phillip and Zhu, Jun-Yan and Zhou, Tinghui and Efros, Alexei A},
booktitle={Computer Vision and Pattern Recognition (CVPR), 2017 IEEE Conference on},
year={2017}
}
- Train a model
python train_facades.py
- Test a model
python test_facades.py
If you use this code for your research, please cite our paper.
@article{wang2018perceptual,
title={Perceptual adversarial networks for image-to-image transformation},
author={Wang, Chaoyue and Xu, Chang and Wang, Chaohui and Tao, Dacheng},
journal={IEEE Transactions on Image Processing},
volume={27},
number={8},
pages={4066--4079},
year={2018},
publisher={IEEE}
}