RealSR-NCNN-Android
RealSR-NCNN-Android copied to clipboard
black image result
as the title says. no matter what upscaling algorithm I pick, it'll always produce black image.
upscaling with CPU does produce an actual result but it takes a significanly longer time to process.
device: Poco X3 NFC - SD732G - 6/64 rom: latest crDroid 9.2 based on LineageOS 20, Android 13
go into settings and try pressing the reset to compatible values , this solved the issue for me
Same with termux cli : ./realsr-ncnn -i input.jpeg -o output.jpg -m models-Real-ESRGAN
from curl https://huggingface.co/spaces/tumuyan/RealSR/raw/main/install_realsr_android.sh | bash
Generally this problem is caused by insufficient GPU resources, you can set the tile-size parameter to solve this problem. The default tile parameter is 0, which means that the tile-szie will be automatically adjusted according to the remaining memory on the device, up to a maximum of 200-400 depending on the model you selected. User could apply a integer >= 32, for devices with this problem, you can usually set the value 32 to 100. In the GUI, you can find the tile size in config, fill in the new value and click the save button. In the cli, you can add the -t tile number parameter to the command.
一般发生这个问题是GPU资源不足造成的,你可以通过设置tile参数来解决这个问题。 默认tile参数为0,这表示根据设备剩余内存自动调整tile,根据模型不同最大会到200-400。有效值为>=32的整数,对于发生这个问题的设备,通常可以设置32-100 在GUI中,可以在config中找到tile size,填入新值并点击save按钮。 在cli中,可以在命令中增加-t tile数字 参数。