Open ngentili opened 3 years ago
Can't replicate the error ):
Can you post screenshots of vulkan not utilizing GPU? I'm on the same build as you, and it goes to 100% usage on dandere2x startup.
I printed the waifu2x-vulkan command in dandere2x, and it seems to be reading from the yaml correct:
2020-11-14 14:17:37,425 INFO dandere2x.py set_console_logger: Dandere2x Console Logger Set
2020-11-14 14:17:37,450 INFO waifu2x_ncnn_vulkan.py _construct_upscale_command: Upscale Command ['C:\\Users\\windw0z\\Documents\\GitHub\\dandere2x\
\src\\externals\\waifu2x-ncnn-vulkan\\waifu2x-ncnn-vulkan.exe', '-i', '[input_file]', '-n', '3', '-s', '2', '-g', '0', '-model-path', 'C:\\Users\\windw
0z\\Documents\\GitHub\\dandere2x\\src\\externals\\waifu2x-ncnn-vulkan\\models-upconv_7_anime_style_art_rgb', '-tile-size', '200', '-o', '[output_file]'
]
Got the same issue over here.
Upon trying to recreate this, I cannot get any upscaling optinon to use my gpu at all, even with the workaround I orginally posted.
I am getting this error on startup:
[ERROR:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-q0nmoxxv\opencv\modules\videoio\src\cap.cpp (142) cv::VideoCapture::open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-q0nmoxxv\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): C:\Utilities\dandere2x\workspace\default_workspace\pre_processed.mkv in function 'cv::icvExtractPattern'
Is this issue still relevant to anyone? I can re-look into it.
To get dandere2x to use my gpu with waifu2x-ncnn-vulkan, I have to change the "Waifu2x - Type" option in the GUI to something else and re-select vulkan. Setting the -g parameter in the settings yaml doesn't seem to make a difference.
This isn't an issue when using waifu2x-caffe or waifu2x-converter-cpp, presumably because the option needs to be changed to use them in the first place.
I am using Windows 10 release 2.1.3 with the DAR temporary fix main.exe, running as admin, and an nvidia gpu.