Home

Awesome

Unpaired Portrait Drawing Jittor Implementation

We provide Jittor implementations for our CVPR 2020 paper "Unpaired Portrait Drawing Generation via Asymmetric Cycle Mapping". paper, suppl.

This project generates multi-style artistic portrait drawings from face photos using a GAN-based model.

Prerequisites

Sample Results

From left to right: input, output(style1), output(style2), output(style3) <img src = 'example.jpg'>

Installation

pip install -r requirements.txt

Apply pretrained model

python test.py --input_folder ./samples

Results are saved in ./results/portrait_drawing/pretrained_200

Train

A subset of our training set is here.

python asymmetric_cyclegan.py

Models are saved in folder checkpoints/portrait_drawing

python test.py --which_epoch 200 --model_name portrait_drawing

Results are saved in ./results/portrait_drawing/portrait_drawing_200

Citation

If you use this code for your research, please cite our paper.

@inproceedings{YiLLR20,
  title     = {Unpaired Portrait Drawing Generation via Asymmetric Cycle Mapping},
  author    = {Yi, Ran and Liu, Yong-Jin and Lai, Yu-Kun and Rosin, Paul L},
  booktitle = {{IEEE} Conference on Computer Vision and Pattern Recognition (CVPR '20)},
  pages     = {8214--8222},
  year      = {2020}
}