We are committed to building an cartoon community using deep generative models.
- Linux or macOS
- NVIDIA GPU + CUDA CuDNN
- Python 3
- Clone the repository:
git clone https://github.com/MingtaoGuo/CartoonBANK.git
cd CartoonBANK
- 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
- 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 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」
Mingtao Guo E-mail: gmt798714378 at hotmail dot com
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 :-).