Selur's Little Message Board
Request: add support to 2x model of RealESRGAN_x4plus_anime_6B - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Request: add support to 2x model of RealESRGAN_x4plus_anime_6B (/thread-3011.html)



Request: add support to 2x model of RealESRGAN_x4plus_anime_6B - Dan64 - 30.12.2022

Hello Selur,

  Recently the author of RealESRGAN_x4plus_anime_6B released the model with 2X support, see this link: https://github.com/xinntao/Real-ESRGAN/issues/523#issuecomment-1367535597

   It is possible add this model in Hybrid ?

Thanks,
Dan


RE: Request: add support to 2x model of RealESRGAN_x4plus_anime_6B - Selur - 30.12.2022

You could use it through a custom section and https://github.com/HolyWu/vs-realesrgan since it does support using models through the 'model_path' parameter.
I do not plan to add support for the 'model_path' parameter in Hybrid, since there are too few occurrences of new models that it's worth the effort.
Maybe tag along https://github.com/HolyWu/vs-realesrgan/issues/15 and ask HolyWu whether he could add that model to vs-realesrgan. (If it's added to vs-realesrgan I'll add it to Hybrids torch addon on it's next update.)

In theory (untested), it might also work if you replace the "Hybrid\64bit\Vapoursynth\Lib\site-packages\vsrealesrgan\RealESRGAN_x2plus.pth" with your model (renamed) and use Hybrid as if you would use RealESRGAN_x2plus.

Cu Selur