[BUG]It works fine when I use cpu, but I get an error when using gpu.
Closed this issue · 1 comments
Describe the bug | 描述错误 | BUGの説明
It works fine when I use cpu, but I get an error when using gpu.
Context | 运行环境 | バックグラウンド
- system: [win7_X64]
Error log | 报错日志 | ログ
{"gpuid":0,"inputpath":["C:\Users\Administrator\Downloads\微信图片_20230708143021.jpg"],"model":"RealCUGAN-pro","modelscale":2,"modelnoise":0,"outputpath":"C:\Users\Administrator\Downloads","targetscale":0,"tta":false}
2023-07-08 14:55:22.113 | INFO | main:main:57 - projectPATH: C:\Users\Administrator\AppData\Local\Programs\Final2x\resources\app\resources\Final2x-core
2023-07-08 14:55:22.114 | INFO | main:main:70 - config loaded
2023-07-08 14:55:22.114 | INFO | src.SRFactory.SRBaseClass:_set_sr_n:53 - sr_n set to 1
2023-07-08 14:55:22.114 | INFO | src.SRFactory.SRBaseClass:init:35 - SRBaseClass init
vkCreateInstance failed -9
vkCreateInstance failed -9
2023-07-08 14:55:22.138 | ERROR | src.SRFactory.REALCUGAN:init:14 - An error has been caught in function 'init', process 'MainProcess' (16896), thread 'MainThread' (9556):
Traceback (most recent call last):
File "main.py", line 87, in
File "main.py", line 78, in main
File "src\SRqueue.py", line 23, in SR_queue
File "src\SRFactory\SRFactory.py", line 26, in getSR
File "src\SRFactory\REALCUGAN.py", line 14, in init
File "src\SRFactory\REALCUGAN.py", line 61, in _init_SR_class
File "realcugan_ncnn_py\realcugan_ncnn_vulkan.py", line 78, in init
File "realcugan_ncnn_py\realcugan_ncnn_vulkan.py", line 96, in _set_parameters
RuntimeError: Caught an unknown exception!
2023-07-08 14:55:22.142 | ERROR | src.SRqueue:SR_queue:23 - An error has been caught in function 'SR_queue', process 'MainProcess' (16896), thread 'MainThread' (9556):
Traceback (most recent call last):
File "main.py", line 87, in
File "main.py", line 78, in main
File "src\SRqueue.py", line 23, in SR_queue
File "src\SRFactory\SRFactory.py", line 26, in getSR
File "src\SRFactory\REALCUGAN.py", line 14, in init
File "src\SRFactory\REALCUGAN.py", line 61, in _init_SR_class
File "realcugan_ncnn_py\realcugan_ncnn_vulkan.py", line 78, in init
File "realcugan_ncnn_py\realcugan_ncnn_vulkan.py", line 96, in _set_parameters
RuntimeError: Caught an unknown exception!
Traceback (most recent call last):
File "main.py", line 87, in
File "main.py", line 78, in main
File "src\SRqueue.py", line 23, in SR_queue
File "loguru_logger.py", line 1251, in catch_wrapper
File "src\SRFactory\SRFactory.py", line 26, in getSR
File "src\SRFactory\REALCUGAN.py", line 14, in init
File "loguru_logger.py", line 1251, in catch_wrapper
File "src\SRFactory\REALCUGAN.py", line 61, in _init_SR_class
File "realcugan_ncnn_py\realcugan_ncnn_vulkan.py", line 78, in init
File "realcugan_ncnn_py\realcugan_ncnn_vulkan.py", line 96, in _set_parameters
RuntimeError: Caught an unknown exception!
[16896] Failed to execute script 'main' due to unhandled exception!
CLOSE CODE:3221225477
win7竟然能用ui吗... Electron23后说是不支持了
你的显卡太老了,不支持vulkan