A browser version of this: https://huggingface.co/spaces/akhaliq/AnimeGANv2 (which is the FacePortraitV2 model from here)
- ONNX Web Runtime (working): https://josephrocca.github.io/anime-gan-v2-web/onnx.html
- tflite (not working - issue): https://josephrocca.github.io/anime-gan-v2-web/tflite.html
- tfjs (not working - issue): https://josephrocca.github.io/anime-gan-v2-web/tfjs.html
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.