xuanandsix / AnimeGANv3-onnxruntime-demo

This is the onnxruntime inference code for AnimeGANv3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AnimeGANv3-onnxruntime-demo

This is the onnxruntime inference code for AnimeGANv3. Official code: https://github.com/TachibanaYoshino/AnimeGANv3

It includes face detection (yolov5-face,or using any other model) to corp face for portrait stylization.

test onnxruntime demo

Download yolov5-s face detection onnx model to models path from https://pan.baidu.com/s/1gQuKiVkRiKB1aBCmghbRng (password:w1gr).

For example, portrait sketch. And for other style, just replace the onnx model.

python demo_onnx.py --useFace

It also works well for panoramic image. Without use face detection.

python demo_onnx.py
input useFace panoramic image

About

This is the onnxruntime inference code for AnimeGANv3


Languages

Language:Python 100.0%