NERVE / mobile /README.md
Phips's picture
mobile: note unverified status
c23588c verified
|
Raw History Blame Contribute Delete
1.58 kB
# NERVE on Android — RealSR-NCNN-Android models
These are the NERVE models converted to **ncnn (fp16)** and named for the free
Android app **[RealSR-NCNN-Android](https://github.com/tumuyan/RealSR-NCNN-Android)**
(v1.7.6+), which loads custom ncnn models from a folder on your phone.
## Install (on the phone)
1. Install **RealSR-NCNN-Android** from its
[releases](https://github.com/tumuyan/RealSR-NCNN-Android/releases).
2. Copy the `models-ESRGAN-NERVE_*` folders from here into a folder on your phone
(e.g. `Documents/ncnn-models`).
3. In the app, open **Settings → Path for custom models** and point it at that
folder.
4. Pick the NERVE model in the model list and upscale.
| folder | model |
|---|---|
| `models-ESRGAN-NERVE_4x_OTF_gan` | 4x, best for blurry / noisy / JPEG input |
| `models-ESRGAN-NERVE_2x_OTF_gan` | 2x, same but 2x |
| `models-ESRGAN-NERVE_4x_release` | 4x, for clean input |
| `models-ESRGAN-NERVE_2x_release` | 2x, for clean input |
## Note
The app runs ncnn on the **GPU via Vulkan**, which is what NERVE's ncnn path is
for. These are fp16 weights — expect tiny differences at hard edges.
**Status: unverified.** These models were converted and validated against PyTorch
(fp16, max |diff| ~0.004), but they have **not yet been tested inside the app on a
real phone**. The app auto-detects the input blob and normalises pixels to [0, 1],
which matches what NERVE expects, so they *should* work — but please test and
report the app version and phone GPU if anything is off. The community is welcome
to test and improve this.