You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,14 @@ RealSR-NCNN-Android-GUI could load extra models from sdcard automatily in ver 1.
34
34
35
35

36
36
37
-
### Convert pth models by yourself
37
+
### Convert models to mnn format
38
+
✨ ver 1.11 support [mnn](https://github.com/alibaba/MNN) models. MNN could support more models than ncnn, but it is slower in my experiment.
39
+
refer to https://mnn-docs.readthedocs.io/en/latest/tools/convert.html , you could convert ONNX, TFLITE, TorchScript, Tensorflow models to mnn format.
40
+
1.`pip install mnn`
41
+
2. (for example, convert onnx to mnn) `MNNConvert -f ONNX --modelFile "{onnx_path}" --MNNModel "{mnn_path}" --bizCode biz --fp16 --info --detectSparseSpeedUp`
42
+
43
+
44
+
### Convert pth models to ncnn format by yourself
38
45
Also you could convert ESRGAN pth moddls by yourself.
39
46
1. Download ESRGAN pytorch models from [OpenModelDB](https://openmodeldb.info/) and unzip it to somewhere.
40
47
2. Download [cupscale](https://github.com/n00mkrad/cupscale) and unzip it in your PC.
@@ -178,13 +185,13 @@ Most of the C code is copied from Nihui, cause of the directory structure had to
178
185
179
186
## Others Open-Source Code Used
180
187
-[https://github.com/Tencent/ncnn](https://github.com/Tencent/ncnn) for fast neural network inference on ALL PLATFORMS
188
+
-[https://github.com/alibaba/MNN](https://github.com/alibaba/MNN) A lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba.
181
189
-[https://github.com/nothings/stb](https://github.com/nothings/stb) for decoding and encoding image on Linux / MacOS
182
190
-[https://github.com/tronkko/dirent](https://github.com/tronkko/dirent) for listing files in directory on Windows
183
191
-[https://github.com/webmproject/libwebp](https://github.com/webmproject/libwebp) for encoding and decoding Webp images on ALL PLATFORMS
184
192
-[https://github.com/avaneev/avir](https://github.com/avaneev/avir) AVIR image resizing algorithm designed by Aleksey Vaneev
185
193
-[https://github.com/ImageMagick/ImageMagick6](https://github.com/ImageMagick/ImageMagick6) Use ImageMagick® to resize/convert images.
186
194
-[https://github.com/MolotovCherry/Android-ImageMagick7](https://github.com/MolotovCherry/Android-ImageMagick7) The repository has been archived, I use this fork [https://github.com/Miseryset/Android-ImageMagick7](https://github.com/Miseryset/Android-ImageMagick7)
187
195
188
-
189
196
## Others packaged models
190
197
- Real-ESRGAN model [Nomos8kSC](https://github.com/Phhofm/models/tree/main/4xNomos8kSC) trained by Phhofm.
-[https://github.com/Tencent/ncnn](https://github.com/Tencent/ncnn) for fast neural network inference on ALL PLATFORMS
208
+
-[https://github.com/alibaba/MNN](https://github.com/alibaba/MNN) A lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba.
199
209
-[https://github.com/nothings/stb](https://github.com/nothings/stb) for decoding and encoding image on Linux / MacOS
200
210
-[https://github.com/tronkko/dirent](https://github.com/tronkko/dirent) for listing files in directory on Windows
201
211
-[https://github.com/webmproject/libwebp](https://github.com/webmproject/libwebp) for encoding and decoding Webp images on ALL PLATFORMS
0 commit comments