All Projects → edward3862 → CariMe-pytorch

edward3862 / CariMe-pytorch

Licence: other
Unpaired Caricature Generation with Multiple Exaggerations (TMM 2021)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to CariMe-pytorch

HistoGAN
Reference code for the paper HistoGAN: Controlling Colors of GAN-Generated and Real Images via Color Histograms (CVPR 2021).
Stars: ✭ 158 (+378.79%)
Mutual labels:  gan, style-transfer
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (+78.79%)
Mutual labels:  gan, style-transfer
Zhihu
This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.
Stars: ✭ 3,307 (+9921.21%)
Mutual labels:  gan, style-transfer
Few Shot Patch Based Training
The official implementation of our SIGGRAPH 2020 paper Interactive Video Stylization Using Few-Shot Patch-Based Training
Stars: ✭ 313 (+848.48%)
Mutual labels:  gan, style-transfer
Tsit
[ECCV 2020 Spotlight] A Simple and Versatile Framework for Image-to-Image Translation
Stars: ✭ 141 (+327.27%)
Mutual labels:  gan, style-transfer
CS231n
My solutions for Assignments of CS231n: Convolutional Neural Networks for Visual Recognition
Stars: ✭ 30 (-9.09%)
Mutual labels:  gan, style-transfer
Hidt
Official repository for the paper "High-Resolution Daytime Translation Without Domain Labels" (CVPR2020, Oral)
Stars: ✭ 513 (+1454.55%)
Mutual labels:  gan, style-transfer
TET-GAN
[AAAI 2019] TET-GAN: Text Effects Transfer via Stylization and Destylization
Stars: ✭ 74 (+124.24%)
Mutual labels:  gan, style-transfer
Deep Learning With Python
Example projects I completed to understand Deep Learning techniques with Tensorflow. Please note that I do no longer maintain this repository.
Stars: ✭ 134 (+306.06%)
Mutual labels:  gan, style-transfer
Sketch To Art
🖼 Create artwork from your casual sketch with GAN and style transfer
Stars: ✭ 115 (+248.48%)
Mutual labels:  gan, style-transfer
CoMoGAN
CoMoGAN: continuous model-guided image-to-image translation. CVPR 2021 oral.
Stars: ✭ 139 (+321.21%)
Mutual labels:  gan, style-transfer
Cyclegan Music Style Transfer
Symbolic Music Genre Transfer with CycleGAN
Stars: ✭ 201 (+509.09%)
Mutual labels:  gan, style-transfer
Neural Painters X
Neural Paiters
Stars: ✭ 61 (+84.85%)
Mutual labels:  gan, style-transfer
Cartoonify
Deploy and scale serverless machine learning app - in 4 steps.
Stars: ✭ 157 (+375.76%)
Mutual labels:  gan, style-transfer
Warpgan
(CVPR 2019 Oral) Style Transfer with Geometric Deformation
Stars: ✭ 215 (+551.52%)
Mutual labels:  gan, style-transfer
catgan pytorch
Unsupervised and Semi-supervised Learning with Categorical Generative Adversarial Networks
Stars: ✭ 50 (+51.52%)
Mutual labels:  gan
IrwGAN
Official pytorch implementation of the IrwGAN for unaligned image-to-image translation
Stars: ✭ 33 (+0%)
Mutual labels:  gan
sourceseparation misc
No description or website provided.
Stars: ✭ 44 (+33.33%)
Mutual labels:  gan
videoMultiGAN
End to End learning for Video Generation from Text
Stars: ✭ 53 (+60.61%)
Mutual labels:  gan
GANs-Keras
GANs Implementations in Keras
Stars: ✭ 24 (-27.27%)
Mutual labels:  gan

CariMe-pytorch

The official pytorch implementation of our TMM paper CariMe: Unpaired Caricature Generation with Multiple Exaggerations.

examples

CariMe: Unpaired Caricature Generation with Multiple Exaggerations

Zheng Gu, Chuanqi Dong, Jing Huo, Wenbin Li, and Yang Gao

Paper: https://ieeexplore.ieee.org/abstract/document/9454341/

Prerequisites

  • Python 3.6
  • Pytorch 1.5.1
  • scikit-image 0.17.2

Preparing Dataset

  • Get the Webcaricature dataset, unzip the dataset to the data folder and align the dataset by running the following script:
python alignment.py

Training

Train the Warper:

python train_warper.py

Train the Styler:

python train_styler.py

Testing

  • Test the Warper only:
python test_warper.py --scale 1.0
  • Test the Styler only:
python test_styler.py 
  • Generate caricatures with both exaggeration and style transfer:
python main_generate.py --model_path_warper pretrained/warper.pt --model_path_styler pretrained/styler.pt
  • Generate caricatures with both exaggeration and style transfer for a single image:
python main_generate_single_image.py --model_path_warper pretrained/warper.pt --model_path_styler pretrained/styler.pt --input_path images/Meg Ryan/P00015.jpg --generate_num 5 --scale 1.0 

The above command will translate the input photo into 5 caricatures with different exaggerations and styles:

examples

Pretrained Models

The pre-trained models are shared here.

Citation

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

@article{gu2021carime,
title={CariMe: Unpaired Caricature Generation with Multiple Exaggerations},
author={Gu, Zheng and Dong, Chuanqi and Huo, Jing and Li, Wenbin and Gao, Yang},
journal={IEEE Transactions on Multimedia},
year={2021},
publisher={IEEE}
}

Reference

Some of our code is based on FUNIT and UGATIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].