RealSR-NCNN-Android icon indicating copy to clipboard operation
RealSR-NCNN-Android copied to clipboard

suggestion to add some more new models.

Open ARTUROSING opened this issue 2 years ago • 7 comments

Models A-ESRGAN https://github.com/Zi-hao-Wei/A-ESRGAN , Real EDRGAN + LDL https://github.com/csjliang/LDL. Thank you.

ARTUROSING avatar Jun 17 '22 22:06 ARTUROSING

I will be very grateful to you.

ARTUROSING avatar Jun 17 '22 22:06 ARTUROSING

In fact I have no experience of deploying Python projects to Android devices, all I have done is compile C projects for Android and create a UI for them.


ncnn projects and models
Most of the C code is copied from Nihui, cause of the directory structure had to be adjusted, the original git was broken

https://github.com/nihui/realsr-ncnn-vulkan
https://github.com/nihui/srmd-ncnn-vulkan
https://github.com/nihui/waifu2x-ncnn-vulkan
https://github.com/nihui/realcugan-ncnn-vulkan

tumuyan avatar Jun 18 '22 00:06 tumuyan

Or you can try adding the Real Esrgan + LDL model to the repository of this implementation, there is a code for converting to NCNN. Thank you.

ARTUROSING avatar Jun 20 '22 21:06 ARTUROSING

Or you can try adding the Real Esrgan + LDL model to the repository of this implementation, there is a code for converting to NCNN. Thank you.

As far as I know, the model needs to be convert and the pre-processing and inference code needs to be rewritten for ncnn. realsr and realesrgan could use same program cause of the authors are in same team.A-ESRGAN and LDL couldn‘t use it

tumuyan avatar Jun 21 '22 10:06 tumuyan

I have try models in this site, most of them could be converted to ncnn models and run on realsr-ncnn https://upscale.wiki/wiki/Model_Database

you could get the tool from cupscal https://github.com/n00mkrad/cupscale/releases , in path CupscaleData\bin\pth2ncnn

tumuyan avatar Jun 21 '22 11:06 tumuyan

Try to convert this model to NCNN and add. program. Link to google drive with the model. https://drive.google.com/file/d/12-EJmXqjoFCe_gFn9db8eLxBAo37tc8F/view?usp=drivesdk

ARTUROSING avatar Jun 25 '22 22:06 ARTUROSING

Try to convert this model to NCNN and add. program. Link to google drive with the model. https://drive.google.com/file/d/12-EJmXqjoFCe_gFn9db8eLxBAo37tc8F/view?usp=drivesdk

It is not a public file. Actually you could try cupscale to convert it and do some test

tumuyan avatar Jun 26 '22 07:06 tumuyan

Hello tumuyan.

Could you add realesr-general-x4v3.pth model, it should be fully compatible. When is the new update coming out? Thank you, very much looking forward to your reply!

ARTUROSING avatar Feb 26 '23 11:02 ARTUROSING