Unable to run: Error: Failed to optimize ncnn
TheSystemGuy1337 opened this issue · 4 comments
No matter how hard I try to get this utility to work, I always get this error message when trying to use NCNN because I do not have an Nvidia GPU:
`Failed to convert Pytorch model to NCNN format! It might be incompatible.
Error: Failed to optimize ncnn
Stack Trace:
at Cupscale.OS.NcnnUtils.d__6.MoveNext()`
Logfile:
`Running in portable mode. Data folder: C:\Cupscale 1.39.0f1\CupscaleData
Arg: C:\Cupscale 1.39.0f1\Cupscale.exe
[IOUtils] Copying directory "C:\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\utils" to "C:\Cupscale 1.39.0f1\CupscaleData\bin\py\utils" (Move: False - RemoveFromName: )
Failed to initialize NvApi: Unable to load DLL 'nvapi64': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Ignore this if you don't have an Nvidia GPU.
[DepCheck] CMD: /C python -V
[Servers] Ping to nmkd-hz.de: 117 ms
[Servers] Ping to nmkd-cb.de: 50 ms
[Servers] Closest Server: USA (St. Louis) (50 ms)
Parsing Patrons from CSV...
Found 15 Gold Patrons, 291 Silver Patrons
[MainUI] Dropped 1 file(s), first = C:\Users\justi\Videos\Motorola FOMA M702iG - Hello Moto (Opening).mp4
Running ffmpeg...
cmd.exe /C cd /D "C:\Cupscale 1.39.0f1\CupscaleData\bin" & ffmpeg.exe -hide_banner -loglevel warning -y -stats -i "C:\Users\justi\Videos\Motorola FOMA M702iG - Hello Moto (Opening).mp4" -compression_level 3 -vsync 0 "C:\Cupscale 1.39.0f1\CupscaleData\img-in/%04d.png"
[FFmpeg] frame= 151 fps=0.0 q=-0.0 size=N/A time=00:00:09.93 bitrate=N/A speed=19.6x
[FFmpeg] frame= 225 fps=0.0 q=-0.0 Lsize=N/A time=00:00:15.00 bitrate=N/A speed=22.3x
Done running ffmpeg.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0001.png - Fill Alpha: True
[ImgProc] Color depth of 0001.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0002.png - Fill Alpha: True
[ImgProc] Color depth of 0002.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0003.png - Fill Alpha: True
[ImgProc] Color depth of 0003.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0004.png - Fill Alpha: True
[ImgProc] Color depth of 0004.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0005.png - Fill Alpha: True
[ImgProc] Color depth of 0005.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0006.png - Fill Alpha: True
[ImgProc] Color depth of 0006.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0007.png - Fill Alpha: True
[ImgProc] Color depth of 0007.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0008.png - Fill Alpha: True
[ImgProc] Color depth of 0008.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0009.png - Fill Alpha: True
[ImgProc] Color depth of 0009.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0010.png - Fill Alpha: True
[ImgProc] Color depth of 0010.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0011.png - Fill Alpha: True
[ImgProc] Color depth of 0011.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0012.png - Fill Alpha: True
[ImgProc] Color depth of 0012.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0013.png - Fill Alpha: True
[ImgProc] Color depth of 0013.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0014.png - Fill Alpha: True
[ImgProc] Color depth of 0014.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0015.png - Fill Alpha: True
[ImgProc] Color depth of 0015.png is 24.
[DepCheck] System Python Check Output: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[DepCheck] Sys Python Ver: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[DepCheck] CMD: /C "C:\Cupscale 1.39.0f1\CupscaleData\bin\py\python.exe" -V
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0016.png - Fill Alpha: True
[ImgProc] Color depth of 0016.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0017.png - Fill Alpha: True
[ImgProc] Color depth of 0017.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0018.png - Fill Alpha: True
[ImgProc] Color depth of 0018.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0019.png - Fill Alpha: True
[ImgProc] Color depth of 0019.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0020.png - Fill Alpha: True
[ImgProc] Color depth of 0020.png is 24.
[DepCheck] Embed Python Check Output: Python 3.8.5
[DepCheck] Embed Python Ver: Python 3.8.5
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0021.png - Fill Alpha: True
[ImgProc] Color depth of 0021.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0022.png - Fill Alpha: True
[ImgProc] Color depth of 0022.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0023.png - Fill Alpha: True
[ImgProc] Color depth of 0023.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0024.png - Fill Alpha: True
[ImgProc] Color depth of 0024.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0025.png - Fill Alpha: True
[ImgProc] Color depth of 0025.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0026.png - Fill Alpha: True
[ImgProc] Color depth of 0026.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0027.png - Fill Alpha: True
[ImgProc] Color depth of 0027.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0028.png - Fill Alpha: True
[ImgProc] Color depth of 0028.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0029.png - Fill Alpha: True
[ImgProc] Color depth of 0029.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0030.png - Fill Alpha: True
[ImgProc] Color depth of 0030.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0031.png - Fill Alpha: True
[ImgProc] Color depth of 0031.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0032.png - Fill Alpha: True
[ImgProc] Color depth of 0032.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0033.png - Fill Alpha: True
[ImgProc] Color depth of 0033.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0034.png - Fill Alpha: True
[ImgProc] Color depth of 0034.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0035.png - Fill Alpha: True
[ImgProc] Color depth of 0035.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0036.png - Fill Alpha: True
[ImgProc] Color depth of 0036.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0037.png - Fill Alpha: True
[ImgProc] Color depth of 0037.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0038.png - Fill Alpha: True
[ImgProc] Color depth of 0038.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0039.png - Fill Alpha: True
[ImgProc] Color depth of 0039.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0040.png - Fill Alpha: True
[ImgProc] Color depth of 0040.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0041.png - Fill Alpha: True
[ImgProc] Color depth of 0041.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0042.png - Fill Alpha: True
[ImgProc] Color depth of 0042.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0043.png - Fill Alpha: True
[ImgProc] Color depth of 0043.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0044.png - Fill Alpha: True
[ImgProc] Color depth of 0044.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0045.png - Fill Alpha: True
[ImgProc] Color depth of 0045.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0046.png - Fill Alpha: True
[ImgProc] Color depth of 0046.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0047.png - Fill Alpha: True
[ImgProc] Color depth of 0047.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0048.png - Fill Alpha: True
[ImgProc] Color depth of 0048.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0049.png - Fill Alpha: True
[ImgProc] Color depth of 0049.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0050.png - Fill Alpha: True
[ImgProc] Color depth of 0050.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0051.png - Fill Alpha: True
[ImgProc] Color depth of 0051.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0052.png - Fill Alpha: True
[ImgProc] Color depth of 0052.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0053.png - Fill Alpha: True
[ImgProc] Color depth of 0053.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0054.png - Fill Alpha: True
[ImgProc] Color depth of 0054.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0055.png - Fill Alpha: True
[ImgProc] Color depth of 0055.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0056.png - Fill Alpha: True
[ImgProc] Color depth of 0056.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0057.png - Fill Alpha: True
[ImgProc] Color depth of 0057.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0058.png - Fill Alpha: True
[ImgProc] Color depth of 0058.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0059.png - Fill Alpha: True
[ImgProc] Color depth of 0059.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0060.png - Fill Alpha: True
[ImgProc] Color depth of 0060.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0061.png - Fill Alpha: True
[ImgProc] Color depth of 0061.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0062.png - Fill Alpha: True
[ImgProc] Color depth of 0062.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0063.png - Fill Alpha: True
[ImgProc] Color depth of 0063.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0064.png - Fill Alpha: True
[ImgProc] Color depth of 0064.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0065.png - Fill Alpha: True
[ImgProc] Color depth of 0065.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0066.png - Fill Alpha: True
[ImgProc] Color depth of 0066.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0067.png - Fill Alpha: True
[ImgProc] Color depth of 0067.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0068.png - Fill Alpha: True
[ImgProc] Color depth of 0068.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0069.png - Fill Alpha: True
[ImgProc] Color depth of 0069.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0070.png - Fill Alpha: True
[ImgProc] Color depth of 0070.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0071.png - Fill Alpha: True
[ImgProc] Color depth of 0071.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0072.png - Fill Alpha: True
[ImgProc] Color depth of 0072.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0073.png - Fill Alpha: True
[ImgProc] Color depth of 0073.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0074.png - Fill Alpha: True
[ImgProc] Color depth of 0074.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0075.png - Fill Alpha: True
[ImgProc] Color depth of 0075.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0076.png - Fill Alpha: True
[ImgProc] Color depth of 0076.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0077.png - Fill Alpha: True
[ImgProc] Color depth of 0077.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0078.png - Fill Alpha: True
[ImgProc] Color depth of 0078.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0079.png - Fill Alpha: True
[ImgProc] Color depth of 0079.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0080.png - Fill Alpha: True
[ImgProc] Color depth of 0080.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0081.png - Fill Alpha: True
[ImgProc] Color depth of 0081.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0082.png - Fill Alpha: True
[ImgProc] Color depth of 0082.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0083.png - Fill Alpha: True
[ImgProc] Color depth of 0083.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0084.png - Fill Alpha: True
[ImgProc] Color depth of 0084.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0085.png - Fill Alpha: True
[ImgProc] Color depth of 0085.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0086.png - Fill Alpha: True
[ImgProc] Color depth of 0086.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0087.png - Fill Alpha: True
[ImgProc] Color depth of 0087.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0088.png - Fill Alpha: True
[ImgProc] Color depth of 0088.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0089.png - Fill Alpha: True
[ImgProc] Color depth of 0089.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0090.png - Fill Alpha: True
[ImgProc] Color depth of 0090.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0091.png - Fill Alpha: True
[ImgProc] Color depth of 0091.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0092.png - Fill Alpha: True
[ImgProc] Color depth of 0092.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0093.png - Fill Alpha: True
[ImgProc] Color depth of 0093.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0094.png - Fill Alpha: True
[ImgProc] Color depth of 0094.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0095.png - Fill Alpha: True
[ImgProc] Color depth of 0095.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0096.png - Fill Alpha: True
[ImgProc] Color depth of 0096.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0097.png - Fill Alpha: True
[ImgProc] Color depth of 0097.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0098.png - Fill Alpha: True
[ImgProc] Color depth of 0098.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0099.png - Fill Alpha: True
[ImgProc] Color depth of 0099.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0100.png - Fill Alpha: True
[ImgProc] Color depth of 0100.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0101.png - Fill Alpha: True
[ImgProc] Color depth of 0101.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0102.png - Fill Alpha: True
[ImgProc] Color depth of 0102.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0103.png - Fill Alpha: True
[ImgProc] Color depth of 0103.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0104.png - Fill Alpha: True
[ImgProc] Color depth of 0104.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0105.png - Fill Alpha: True
[ImgProc] Color depth of 0105.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0106.png - Fill Alpha: True
[ImgProc] Color depth of 0106.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0107.png - Fill Alpha: True
[ImgProc] Color depth of 0107.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0108.png - Fill Alpha: True
[ImgProc] Color depth of 0108.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0109.png - Fill Alpha: True
[ImgProc] Color depth of 0109.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0110.png - Fill Alpha: True
[ImgProc] Color depth of 0110.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0111.png - Fill Alpha: True
[ImgProc] Color depth of 0111.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0112.png - Fill Alpha: True
[ImgProc] Color depth of 0112.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0113.png - Fill Alpha: True
[ImgProc] Color depth of 0113.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0114.png - Fill Alpha: True
[ImgProc] Color depth of 0114.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0115.png - Fill Alpha: True
[ImgProc] Color depth of 0115.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0116.png - Fill Alpha: True
[ImgProc] Color depth of 0116.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0117.png - Fill Alpha: True
[ImgProc] Color depth of 0117.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0118.png - Fill Alpha: True
[ImgProc] Color depth of 0118.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0119.png - Fill Alpha: True
[ImgProc] Color depth of 0119.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0120.png - Fill Alpha: True
[ImgProc] Color depth of 0120.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0121.png - Fill Alpha: True
[ImgProc] Color depth of 0121.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0122.png - Fill Alpha: True
[ImgProc] Color depth of 0122.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0123.png - Fill Alpha: True
[ImgProc] Color depth of 0123.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0124.png - Fill Alpha: True
[ImgProc] Color depth of 0124.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0125.png - Fill Alpha: True
[ImgProc] Color depth of 0125.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0126.png - Fill Alpha: True
[ImgProc] Color depth of 0126.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0127.png - Fill Alpha: True
[ImgProc] Color depth of 0127.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0128.png - Fill Alpha: True
[ImgProc] Color depth of 0128.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0129.png - Fill Alpha: True
[ImgProc] Color depth of 0129.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0130.png - Fill Alpha: True
[ImgProc] Color depth of 0130.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0131.png - Fill Alpha: True
[ImgProc] Color depth of 0131.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0132.png - Fill Alpha: True
[ImgProc] Color depth of 0132.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0133.png - Fill Alpha: True
[ImgProc] Color depth of 0133.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0134.png - Fill Alpha: True
[ImgProc] Color depth of 0134.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0135.png - Fill Alpha: True
[ImgProc] Color depth of 0135.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0136.png - Fill Alpha: True
[ImgProc] Color depth of 0136.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0137.png - Fill Alpha: True
[ImgProc] Color depth of 0137.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0138.png - Fill Alpha: True
[ImgProc] Color depth of 0138.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0139.png - Fill Alpha: True
[ImgProc] Color depth of 0139.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0140.png - Fill Alpha: True
[ImgProc] Color depth of 0140.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0141.png - Fill Alpha: True
[ImgProc] Color depth of 0141.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0142.png - Fill Alpha: True
[ImgProc] Color depth of 0142.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0143.png - Fill Alpha: True
[ImgProc] Color depth of 0143.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0144.png - Fill Alpha: True
[ImgProc] Color depth of 0144.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0145.png - Fill Alpha: True
[ImgProc] Color depth of 0145.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0146.png - Fill Alpha: True
[ImgProc] Color depth of 0146.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0147.png - Fill Alpha: True
[ImgProc] Color depth of 0147.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0148.png - Fill Alpha: True
[ImgProc] Color depth of 0148.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0149.png - Fill Alpha: True
[ImgProc] Color depth of 0149.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0150.png - Fill Alpha: True
[ImgProc] Color depth of 0150.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0151.png - Fill Alpha: True
[ImgProc] Color depth of 0151.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0152.png - Fill Alpha: True
[ImgProc] Color depth of 0152.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0153.png - Fill Alpha: True
[ImgProc] Color depth of 0153.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0154.png - Fill Alpha: True
[ImgProc] Color depth of 0154.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0155.png - Fill Alpha: True
[ImgProc] Color depth of 0155.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0156.png - Fill Alpha: True
[ImgProc] Color depth of 0156.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0157.png - Fill Alpha: True
[ImgProc] Color depth of 0157.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0158.png - Fill Alpha: True
[ImgProc] Color depth of 0158.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0159.png - Fill Alpha: True
[ImgProc] Color depth of 0159.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0160.png - Fill Alpha: True
[ImgProc] Color depth of 0160.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0161.png - Fill Alpha: True
[ImgProc] Color depth of 0161.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0162.png - Fill Alpha: True
[ImgProc] Color depth of 0162.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0163.png - Fill Alpha: True
[ImgProc] Color depth of 0163.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0164.png - Fill Alpha: True
[ImgProc] Color depth of 0164.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0165.png - Fill Alpha: True
[ImgProc] Color depth of 0165.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0166.png - Fill Alpha: True
[ImgProc] Color depth of 0166.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0167.png - Fill Alpha: True
[ImgProc] Color depth of 0167.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0168.png - Fill Alpha: True
[ImgProc] Color depth of 0168.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0169.png - Fill Alpha: True
[ImgProc] Color depth of 0169.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0170.png - Fill Alpha: True
[ImgProc] Color depth of 0170.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0171.png - Fill Alpha: True
[ImgProc] Color depth of 0171.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0172.png - Fill Alpha: True
[ImgProc] Color depth of 0172.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0173.png - Fill Alpha: True
[ImgProc] Color depth of 0173.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0174.png - Fill Alpha: True
[ImgProc] Color depth of 0174.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0175.png - Fill Alpha: True
[ImgProc] Color depth of 0175.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0176.png - Fill Alpha: True
[ImgProc] Color depth of 0176.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0177.png - Fill Alpha: True
[ImgProc] Color depth of 0177.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0178.png - Fill Alpha: True
[ImgProc] Color depth of 0178.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0179.png - Fill Alpha: True
[ImgProc] Color depth of 0179.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0180.png - Fill Alpha: True
[ImgProc] Color depth of 0180.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0181.png - Fill Alpha: True
[ImgProc] Color depth of 0181.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0182.png - Fill Alpha: True
[ImgProc] Color depth of 0182.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0183.png - Fill Alpha: True
[ImgProc] Color depth of 0183.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0184.png - Fill Alpha: True
[ImgProc] Color depth of 0184.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0185.png - Fill Alpha: True
[ImgProc] Color depth of 0185.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0186.png - Fill Alpha: True
[ImgProc] Color depth of 0186.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0187.png - Fill Alpha: True
[ImgProc] Color depth of 0187.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0188.png - Fill Alpha: True
[ImgProc] Color depth of 0188.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0189.png - Fill Alpha: True
[ImgProc] Color depth of 0189.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0190.png - Fill Alpha: True
[ImgProc] Color depth of 0190.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0191.png - Fill Alpha: True
[ImgProc] Color depth of 0191.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0192.png - Fill Alpha: True
[ImgProc] Color depth of 0192.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0193.png - Fill Alpha: True
[ImgProc] Color depth of 0193.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0194.png - Fill Alpha: True
[ImgProc] Color depth of 0194.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0195.png - Fill Alpha: True
[ImgProc] Color depth of 0195.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0196.png - Fill Alpha: True
[ImgProc] Color depth of 0196.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0197.png - Fill Alpha: True
[ImgProc] Color depth of 0197.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0198.png - Fill Alpha: True
[ImgProc] Color depth of 0198.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0199.png - Fill Alpha: True
[ImgProc] Color depth of 0199.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0200.png - Fill Alpha: True
[ImgProc] Color depth of 0200.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0201.png - Fill Alpha: True
[ImgProc] Color depth of 0201.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0202.png - Fill Alpha: True
[ImgProc] Color depth of 0202.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0203.png - Fill Alpha: True
[ImgProc] Color depth of 0203.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0204.png - Fill Alpha: True
[ImgProc] Color depth of 0204.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0205.png - Fill Alpha: True
[ImgProc] Color depth of 0205.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0206.png - Fill Alpha: True
[ImgProc] Color depth of 0206.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0207.png - Fill Alpha: True
[ImgProc] Color depth of 0207.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0208.png - Fill Alpha: True
[ImgProc] Color depth of 0208.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0209.png - Fill Alpha: True
[ImgProc] Color depth of 0209.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0210.png - Fill Alpha: True
[ImgProc] Color depth of 0210.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0211.png - Fill Alpha: True
[ImgProc] Color depth of 0211.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0212.png - Fill Alpha: True
[ImgProc] Color depth of 0212.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0213.png - Fill Alpha: True
[ImgProc] Color depth of 0213.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0214.png - Fill Alpha: True
[ImgProc] Color depth of 0214.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0215.png - Fill Alpha: True
[ImgProc] Color depth of 0215.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0216.png - Fill Alpha: True
[ImgProc] Color depth of 0216.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0217.png - Fill Alpha: True
[ImgProc] Color depth of 0217.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0218.png - Fill Alpha: True
[ImgProc] Color depth of 0218.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0219.png - Fill Alpha: True
[ImgProc] Color depth of 0219.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0220.png - Fill Alpha: True
[ImgProc] Color depth of 0220.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0221.png - Fill Alpha: True
[ImgProc] Color depth of 0221.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0222.png - Fill Alpha: True
[ImgProc] Color depth of 0222.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0223.png - Fill Alpha: True
[ImgProc] Color depth of 0223.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0224.png - Fill Alpha: True
[ImgProc] Color depth of 0224.png is 24.
[ImgProc] Preprocessing C:\Cupscale 1.39.0f1\CupscaleData\img-in\0225.png - Fill Alpha: True
[ImgProc] Color depth of 0225.png is 24.
[ImgProc] Done pre-processing images
Disk space check for C: with multiplier 2 - 4 MB needed, 31555 MB available
currentInDir: C:\Cupscale 1.39.0f1\CupscaleData\img-in, imgInPath: C:\Cupscale 1.39.0f1\CupscaleData\img-in
[Queue] Start()
ConvertNcnnModel: C:\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_BSRGAN.pth
Checking for NCNN model: C:\Cupscale 1.39.0f1\CupscaleData.ncnn-models\4x_BSRGAN
Running model converter...
[CMD] /C cd /D "C:\Cupscale 1.39.0f1\CupscaleData\bin\pth2ncnn" & pth2ncnn.exe "C:\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_BSRGAN.pth"
[NcnnUtils] Model Converter Output: Loading model
[NcnnUtils] Model Converter Output: Loading architecture
[NcnnUtils] Model Converter Output: Exporting onnx
[NcnnUtils] Model Converter Output: Simplifying onnx
[NcnnUtils] Model Converter Output: Converting onnx to ncnn
[NcnnUtils] Model Converter Output: Fixing ncnn
[NcnnUtils] Model Converter Output: Creating final model
[NcnnUtils] Model Converter Output: Error: Failed to optimize ncnn
Failed to convert Pytorch model to NCNN format! It might be incompatible.
Error: Failed to optimize ncnn
Stack Trace:
at Cupscale.OS.NcnnUtils.d__6.MoveNext()
[ESRGAN] NCNN Model is ready:
Failed to get NCNN model scale for dir '': Value cannot be null.
Parameter name: path
Failed to parse "Automatic (Recommended)" to int: Input string was not in a correct format.
[CMD] /C cd /D "C:\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-ncnn" & esrgan-ncnn-vulkan.exe -i "C:\Cupscale 1.39.0f1\CupscaleData\img-in" -o "C:\Cupscale 1.39.0f1\CupscaleData\img-out" -g 0 -m "" -s 4
[NCNN] [0 AMD Radeon(TM) Graphics] queueC=1[2] queueG=0[1] queueT=2[1]
[NCNN] [0 AMD Radeon(TM) Graphics] buglssc=0 bugsbn1=0 buglbia=0 bugihfa=0
[NCNN] [0 AMD Radeon(TM) Graphics] fp16p=1 fp16s=1 fp16a=1 int8s=1 int8a=1
[NCNN] _wfopen /x4.param failed
[Queue] Stop()`
Searching this error on Google also led me nowhere. I am using the latest version of Windows 10
Have you tried other models?
The same issue persists.
Failed to convert Pytorch model to NCNN format! It might be incompatible.
Error: Failed to optimize ncnn
Stack Trace:
at Cupscale.OS.NcnnUtils.d__6.MoveNext()
Disarming my AVs auto-containment does not seem to help.
DxDiag.txt
This issue is extremely old, and there’s no response. Closing.