/anime-gan-v2-web

Primary LanguageJupyter NotebookMIT LicenseMIT

AnimeGANv2 tfjs/tflite/onnx

A browser version of this: https://huggingface.co/spaces/akhaliq/AnimeGANv2 (which is the FacePortraitV2 model from here)

Here's the Google Colab notebook that I used to convert the models from the original Pytorch format.

The ONNX WebGL runtime doesn't support int64 (issue), so I used this script to convert int64 values to int32. Then I ran into another problem with the WebGL runtime (issue), so currently only the ONNX wasm runtime works.