CartoonBANK
We are committed to building an cartoon community using deep generative models
Install / Use
/learn @MingtaoGuo/CartoonBANKREADME
CartoonBANK
We are committed to building an cartoon community using deep generative models.
Getting Started
Prerequisites
- Linux or macOS
- NVIDIA GPU + CUDA CuDNN
- Python 3
Installation
- Clone the repository:
git clone https://github.com/MingtaoGuo/CartoonBANK.git
cd CartoonBANK
Dependencies:
- scikit-image=0.18.3
- torch=1.12.1
- opencv-python=4.5.3.56
- opencv-python-headless=4.5.3.56
- numpy=1.20.3
Inference
- Download the face detection model 「yolov5s-face.onnx」, put the yolov5s-face.onnx into the folder saved_models
python inference.py --img_path examples/zjl.png --cartoon_model saved_models/style1.pth --save_path result.jpg
Cartoon BANK
- Cartoon Style 1 「Pretrained model」
|
|
|
|
|
|-|-|-|-|
|
|
|
|
|
|
|
|
|
|
- Cartoon Style 2 「Pretrained model」
|
|
|
|
|
|-|-|-|-|
|
|
|
|
|
|
|
|
|
|
- Cartoon Style 3 「Pretrained model」
|
|
|
|
|
|-|-|-|-|
|
|
|
|
|
|
|
|
|
|
- Cartoon Style 4 'Mona Lisa' 「Pretrained model」
|
|
|
|
|
|-|-|-|-|
|
|
|
|
|
|
|
|
|
|
- Cartoon Style 5 「Pretrained model」
|
|
|
|
|
|-|-|-|-|
|
|
|
|
|
|
|
|
|
|
Author
Mingtao Guo E-mail: gmt798714378 at hotmail dot com
To be continue.
We will update fresh cartoon model every friday night in Chinese time, Or if you'd like a custom cartoon model, upload or send the cartoon image to us. Please enjoy it :-).
