Magpie icon indicating copy to clipboard operation
Magpie copied to clipboard

ArtCNN as a filter

Open octopushugger opened this issue 11 months ago • 5 comments

Expected behavior 预期的功能

Add ArtCNN, a newer high quality scaling filter. https://github.com/Artoriuz/ArtCNN Variant C4F16 RGB would probably make the most sense for magpie I think.

Better quality than any of the existing filters for art content. FSRCNNX might win in some cases.

DIV2K variant might be useful for certain types of content.

Alternative behavior (optional) 近似的功能(可选)

No response

octopushugger avatar Mar 11 '24 05:03 octopushugger

I changed my mind I think C4F32 RGB probably makes more sense since it offers more benefit over the existing filters. I tested some more and the difference between 16 and 32 becomes more obvious with lower source resolutions.

octopushugger avatar Mar 11 '24 05:03 octopushugger

If we only need the RGB variants, it would be a good idea to port both ArtCNN_C4F16_RGB and ArtCNN_C4F32_RGB.

Blinue avatar Mar 11 '24 12:03 Blinue

ArtCNN.zip ArtCNN RGB variants ported to onnx. Only work with https://github.com/Blinue/Magpie/releases/tag/onnx-preview1

Personally not very impressed with its results. PS: porting thing to onnx is magnitude easier than to hlsl.

GitHub
Release onnx-preview1 · Blinue/Magpie
中文版 一个支持 ONNX 模型的实验性版本,如果遇到任何问题请在 #772 中讨论��� 如何使用 不支持通过 UI 指定 ONNX 模型,你应该编辑根目录中的 model.json。 示例: { "path": "2x_AnimeJaNai_HD_V3_UltraCompact_425k-fp16.onnx", "scale": 2, "backend": "dire...

kato-megumi avatar Mar 11 '24 15:03 kato-megumi

Wow that fast and I can already use it. Thank you!

octopushugger avatar Mar 11 '24 18:03 octopushugger

https://github.com/Artoriuz/ArtCNN/tree/main/ONNX is maintained officially

GitHub
Super-Resolution Convolutional Neural Networks as GLSL shaders for mpv - Artoriuz/ArtCNN

hooke007 avatar May 12 '24 04:05 hooke007