chaowentao / LAGAN

(PRCV 2022) LAGAN: Landmark Aided Text to Face Sketch Generation
5 stars 1 forks source link

LAGAN

Pytorch implementation for (PRCV 2022) LAGAN: Landmark Aided Text to Face Sketch Generation.

Overview

Data

TextCUFSF dataset has been included in data/sketches/. If not availvale, please give me your emali in Issues. or link: https://pan.baidu.com/s/1vhJKsrGdffg2kS2oWo5EHg?pwd=9xyf password: 9xyf; or link: https://pan.bnu.edu.cn/l/n1Hd8o

Training

All code was developed and tested on Ubuntu 16.04 with Python 3.7 (Anaconda) and PyTorch 1.1.

DAMSM model includes text encoder and image encoder

LAGAN model

*.yml files include configuration for training and testing.

Testing

Examples generated by LAGAN

Code Structure

Citiation

If you find this work helpful, please consider citing:

@inproceedings{chao2022lagan,
  title={LAGAN: Landmark Aided Text to Face Sketch Generation},
  author={Chao, Wentao and Chang, Liang and Xi, Fangfang and Duan, Fuqing},
  booktitle={Chinese Conference on Pattern Recognition and Computer Vision (PRCV)},
  pages={137--151},
  year={2022},
  organization={Springer}
}

Acknowledgements

This code borrows heavily from ControlGAN repository. Thanks a lot.