Real-ESRGAN-ncnn-vulkan
Real-ESRGAN-ncnn-vulkan copied to clipboard
Param failed?
_wfopen C:\Users\micro\Downloads\models/RealESRGANv2-animevideo-xsx4.pth.param failed
is the error I keep getting...
_wfopen C:\Users\micro\Downloads\models/RealESRGANv2-animevideo-xsx4.pth.param failed
is the error I keep getting...
I keep getting this error in windows 10
_wfopen C:\Users\micro\Downloads\models/RealESRGANv2-animevideo-xsx4.pth.param failed
is the error I keep getting...I keep getting this error in windows 10
I am on 11 btw. So its happening on both versions.
_wfopen C:\Users\micro\Downloads\models/RealESRGANv2-animevideo-xsx4.pth.param failed
is the error I keep getting...I keep getting this error in windows 10
I am on 11 btw. So its happening on both versions.
I already figure out the problem, just use the portable version of real-esrgan which works fine. If you download the zip file version from the github release, you actually will lack some files for it to perform normal.
_wfopen C:\Users\micro\Downloads\models/RealESRGANv2-animevideo-xsx4.pth.param failed
is the error I keep getting...I keep getting this error in windows 10
I am on 11 btw. So its happening on both versions.
You would probably find waifu2x-extention-gui useful, which is free and provides all sort of image\video enlarging method including real-esrgan with a fine tune graphic UI. I am here just to learn more.
You need to add RealESRGANv2-animevideo-xsx4.pth.param
to the folder named models
.
You need to add
RealESRGANv2-animevideo-xsx4.pth.param
to the folder namedmodels
.
But where to get it? https://github.com/xinntao/Real-ESRGAN readme has some mention of model files and some links. But those are .pth files. Renaming extension to .param doesn't do the trick either. Now requires some .bin file
./realesrgan-ncnn-vulkan.exe -v -i picture.jpg -s 4 -f webp -n realesrgan_x4plus -o picture_4.webp
[0 NVIDIA GeForce RTX 3070 Ti] queueC=2[8] queueG=0[16] queueT=1[2]
[0 NVIDIA GeForce RTX 3070 Ti] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 NVIDIA GeForce RTX 3070 Ti] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 3070 Ti] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1
parse magic failed
_wfopen realesrgan-ncnn-vulkan-v0.2.0-windows\models/realesrgan_x4plus.bin failed
network graph not ready
You need to add
RealESRGANv2-animevideo-xsx4.pth.param
to the folder namedmodels
.But where to get it? https://github.com/xinntao/Real-ESRGAN readme has some mention of model files and some links. But those are .pth files. Renaming extension to .param doesn't do the trick either. Now requires some .bin file
./realesrgan-ncnn-vulkan.exe -v -i picture.jpg -s 4 -f webp -n realesrgan_x4plus -o picture_4.webp [0 NVIDIA GeForce RTX 3070 Ti] queueC=2[8] queueG=0[16] queueT=1[2] [0 NVIDIA GeForce RTX 3070 Ti] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0 [0 NVIDIA GeForce RTX 3070 Ti] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1 [0 NVIDIA GeForce RTX 3070 Ti] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1 parse magic failed _wfopen realesrgan-ncnn-vulkan-v0.2.0-windows\models/realesrgan_x4plus.bin failed network graph not ready
Download the portable release from this link ,find in page and you will see it ,its complete but a little old, https://github.com/xinntao/Real-ESRGAN
You need to add
RealESRGANv2-animevideo-xsx4.pth.param
to the folder namedmodels
.But where to get it? https://github.com/xinntao/Real-ESRGAN readme has some mention of model files and some links. But those are .pth files. Renaming extension to .param doesn't do the trick either. Now requires some .bin file
./realesrgan-ncnn-vulkan.exe -v -i picture.jpg -s 4 -f webp -n realesrgan_x4plus -o picture_4.webp [0 NVIDIA GeForce RTX 3070 Ti] queueC=2[8] queueG=0[16] queueT=1[2] [0 NVIDIA GeForce RTX 3070 Ti] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0 [0 NVIDIA GeForce RTX 3070 Ti] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1 [0 NVIDIA GeForce RTX 3070 Ti] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1 parse magic failed _wfopen realesrgan-ncnn-vulkan-v0.2.0-windows\models/realesrgan_x4plus.bin failed network graph not ready
Download the portable release from this link ,find in page and you will see it ,its complete but a little old, https://github.com/xinntao/Real-ESRGAN
how to add more models in the portable version?
You need to add
RealESRGANv2-animevideo-xsx4.pth.param
to the folder namedmodels
.But where to get it? https://github.com/xinntao/Real-ESRGAN readme has some mention of model files and some links. But those are .pth files. Renaming extension to .param doesn't do the trick either. Now requires some .bin file
./realesrgan-ncnn-vulkan.exe -v -i picture.jpg -s 4 -f webp -n realesrgan_x4plus -o picture_4.webp [0 NVIDIA GeForce RTX 3070 Ti] queueC=2[8] queueG=0[16] queueT=1[2] [0 NVIDIA GeForce RTX 3070 Ti] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0 [0 NVIDIA GeForce RTX 3070 Ti] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1 [0 NVIDIA GeForce RTX 3070 Ti] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1 parse magic failed _wfopen realesrgan-ncnn-vulkan-v0.2.0-windows\models/realesrgan_x4plus.bin failed network graph not ready
You can convert parameters by yourself (see this issue), but I recommend you to use Waifu2x-Extension-GUI. Downloading the latest realsease, then you can find the files you want (*.params
and *.bin
) in this folder: waifu2x-extension-gui\realesrgan-ncnn-vulkan\models\
.
https://pan.baidu.com/s/18n71xRPZL7uRcnlwSnWrdQ?pwd=iznh#list/path=%2F&parentPath=%2Fsharelink2054992973-689334925225862
这个百度网盘里有.param文件。
我运行下面的代码成功了:
realesrgan-ncnn-vulkan.exe -i image1.png -o 1output.png -n realesrgan-x4plus