nihui / waifu2x-ncnn-vulkan

waifu2x converter ncnn version, runs fast on intel / amd / nvidia / apple-silicon GPU with vulkan
MIT License
3k stars 209 forks source link

waifu2x-ncnn-vulkan linux failing with zero return code #126

Open MarcNBarrett opened 3 years ago

MarcNBarrett commented 3 years ago

I am using waifu2x-ncnn-vulkan linux on a system running Ubuntu Mate. I have been batch-converting a bunch of images. Occasionally, waifu2x-ncnn-vulkan will fail with something like this:

fopen waifu2x-ncnn-vulkan-20200818-linux/waifu2x-ncnn-vulkan/models-upconv_7_photo/noise1_scale2.0x_model.param failed

fopen waifu2x-ncnn-vulkan-20200818-linux/waifu2x-ncnn-vulkan/models-upconv_7_photo/noise1_scale2.0x_model.bin failed

find_blob_index_by_name Input1 failed

find_blob_index_by_name Eltwise4 failed

But when it does so, it still returns a zero return code. I need it to return with a non-zero status so that I can catch those fails and re-process those images separately.

kattjevfel commented 3 years ago

https://github.com/nihui/waifu2x-ncnn-vulkan/issues/109