Kim2091/2x-AnimeSharpV4
By Kim2091 · ↓ 0 · ♥ 33 · Updated 2025-02-16
What's in this repo
This page lists the files in Kim2091/2x-AnimeSharpV4, including 2x-AnimeSharpV4_Fast_RCAN_PU_fp16_opset17.onnx, 2x-AnimeSharpV4_RCAN_fp16_op17.onnx.
- 2 ONNX models (.onnx files)
- 6 files, including 2 .safetensors, 2 .onnx, 1 .md
- Repository size ~119 MB
- Last updated 2025-02-16
ONNX files
| File | Size | Download |
|---|---|---|
| 2x-AnimeSharpV4_Fast_RCAN_PU_fp16_opset17.onnx | 30.1 MB | Download |
| 2x-AnimeSharpV4_RCAN_fp16_op17.onnx | 29.8 MB | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
2x-AnimeSharpV4 & Fast
Scale: 2
Architecture: RCAN & RCAN PixelUnshuffle
Links: Github Release
Author: Kim2091
License: CC BY-NC-SA 4.0
Purpose: Anime
Subject:
Input Type: Images
Date: 1-7-25
Size:
I/O Channels: 3(RGB)->3(RGB)
Dataset: ModernAnimation1080_v3 & digital_art_v3
Dataset Size: 6k & 20k
OTF (on the fly augmentations): No
Pretrained Model: 2x-AnimeSharpV3_RCAN & database's 12k PU checkpoint
Iterations: 100k RCAN & 400k RCAN PU
Batch Size: 8
GT Size: 64
Description: This is a successor to AnimeSharpV3 based on RCAN instead of ESRGAN. It outperforms both versions of AnimeSharpV3 in every capacity. It's sharper, retains even more detail, and has very few artifacts. It is extremely faithful to the input image, even with heavily compressed inputs.
Currently it is NOT compatible with chaiNNer, but will be available on the nightly build soon (hopefully).
The 2x-AnimeSharpV4_Fast_RCAN_PU model is trained on RCAN PixelUnshuffle. This is much faster, but comes at the cost of quality. I believe the model is ~95% the quality of the full V4 RCAN model, but ~6x faster in Pytorch and ~4x faster in TensorRT. This model is ideal for video processing, and as such was trained to handle MPEG2 & H264 compression.
To use the Pytorch version of the model right now, you can update your version of the spandrel library to 0.4.1 in ComfyUI
Alternatively, the latest chaiNNer nightly supports it: https://github.com/chaiNNer-org/chaiNNer-nightly/releases Comparisons:
https://slow.pics/c/63Qu8HTN
https://slow.pics/c/DBJPDJM9

Model info
Created: 2025-01-15
Updated: 2025-02-16
View on Hugging Face