payne53 / few_shot_face2cartoon

MIT License
6 stars 4 forks source link

FEW-SHOT KNOWLEDGE TRANSFER FOR FINE-GRAINED CARTOON FACE GENERATION

fig1

Paper

This repository provides the official Pytorch implementation of our paper: FEW-SHOT KNOWLEDGE TRANSFER FOR FINE-GRAINED CARTOON FACE GENERATION (ICME 21 oral ).

Requirements

Pre-trained model

We released the pre-trained single model and multi-group model so that people could test more widely. Please download the pre-trained models from [Google Driver]

Dataset

Please download the dataset from [Google Driver] and extract it to dataset folder.

Usage

Train

We train our model on a server with a NVIDIA Tesla V100 of 32G memory.

python train.py 
python test.py --dataset {folder_for_dataset} --model_path {path_to_model_ckpt} --remark {exp_name} --label {0, 1, 2, 3 for specific groups}

Architecture

pip1

Results

res1

res2

res3

res4

Reference

Our codes refer to Project Photo2cartoon