2.10.9 Upscale Failure
WeirdScienceX opened this issue Β· comments
Checklist
- I have tried ALL of the steps mentioned in the troubleshooting guide.
- I have searched for this in the issues tab.
- My error involves vkEnumeratePhysicalDevices or vkCreateInstance, which means I should ignore the other issues and file this one despite the last checkbox.
Describe the Bug
Fails to upscale, appears to be looking in the wrong location for models
To Reproduce
Try to upscale any image
Upscayl Version (or commit hash)
2.10.9
Platform
Windows
OS Version
Win 11 23H2
GPU Name
RTX 3080TI
Expected Behavior
Image Upscaled
Screenshots
No response
Logs
βοΈ Getting saveImageAs from localStorage: png
βοΈ Getting model from localStorage: {"label":"General Photo (Ultramix Balanced)","value":"ultramix_balanced"}
βοΈ Setting gpuId to empty string
π Setting model to
π BACKEND REPORTED: π Updating Output Folder Path: "D:\\TEMP\\misc"
π Setting model to ultramix_balanced
π BACKEND REPORTED: πΎ Updating Remember Output Folder: false
π Resetting image paths
β€΅οΈ Dropped file: {"type":"image/png","filePath":"D:\\TEMP\\misc\\boat1.png","extension":"png"}
πΌ Setting image path: D:\TEMP\misc\boat1.png
π Setting output path: D:\TEMP\misc
πΌ imagePath: D:\TEMP\misc\boat1.png
π€ Extension: png
π Resetting Upscaled Image Path
π UPSCAYL
π BACKEND REPORTED: πΌοΈ Updating No Image Processing: false
π BACKEND REPORTED: π Updating Compression: 0
π BACKEND REPORTED: Is Default Model? : true
π BACKEND REPORTED: β
Upscayl Variables: {"model":"ultramix_balanced","gpuId":null,"saveImageAs":"png","inputDir":"D:\\TEMP\\misc","outputDir":"D:\\TEMP\\misc","fullfileName":"boat1.png","fileName":"boat1","scale":"4","outFile":"D:\\TEMP\\misc\\boat1_upscayl_4x_ultramix_balanced.png","compression":0}
π BACKEND REPORTED: π’ Upscayl Command: -i,D:\TEMP\misc\boat1.png,-o,D:\TEMP\misc\boat1_upscayl_4x_ultramix_balanced.png,-s 4,-m,C:\Program Files\Upscayl\resources\models,-n,ultramix_balanced,-f,png
π BACKEND REPORTED: πΆ Updating Child Processes: {"binary":"C:\\Program Files\\Upscayl\\resources\\bin\\upscayl-bin","args":["C:\\Program Files\\Upscayl\\resources\\bin\\upscayl-bin","-i","D:\\TEMP\\misc\\boat1.png","-o","D:\\TEMP\\misc\\boat1_upscayl_4x_ultramix_balanced.png","-s 4","-m","C:\\Program Files\\Upscayl\\resources\\models","-n","ultramix_balanced","-f","png"]}
π BACKEND REPORTED: π Updating Stopped: false
π BACKEND REPORTED: image upscayl: [0 NVIDIA GeForce RTX 3080 Ti] queueC=2[8] queueG=0[16] queueT=1[2]
[0 NVIDIA GeForce RTX 3080 Ti] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 NVIDIA GeForce RTX 3080 Ti] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 3080 Ti] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1
π§ UPSCAYL_PROGRESS: [0 NVIDIA GeForce RTX 3080 Ti] queueC=2[8] queueG=0[16] queueT=1[2]
[0 NVIDIA GeForce RTX 3080 Ti] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 NVIDIA GeForce RTX 3080 Ti] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 3080 Ti] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1
π BACKEND REPORTED: image upscayl: _wfopen C:\Program Files\Upscayl\resources\bin\models/realesrgan-x4plus.param failed
π§ UPSCAYL_PROGRESS: _wfopen C:\Program Files\Upscayl\resources\bin\models/realesrgan-x4plus.param failed
π BACKEND REPORTED: β INVALID GPU OR FAILED
βοΈ Getting saveImageAs from localStorage: png
βοΈ Getting model from localStorage: {"label":"General Photo (Ultramix Balanced)","value":"ultramix_balanced"}
βοΈ Setting gpuId to empty string
I have the same issue.
The models folder path is wrong in Windows. (See the log)
Copy the resources/models folder to resources/bin/models.
Howerver, the upscaled output file size is ZERO.
Thank you for reporting! We'll fix it
Strange,
-m,C:\Program Files\Upscayl\resources\models,-n,ultramix_balanced
The models path is correct here but the backend reads: C:\Program Files\Upscayl\resources\bin\models/realesrgan-x4plus.param
for some reason.
Could you try changing the models?
Could you try changing the models?
I copied 'resources/models' to 'resources/bin/models'.
The outputs of all models are empty. (file size is zero)
I found the reason why the output is empty.
Can you check the -s option in the source code?
On the command line, the -s [number] option is enclosed in quotes, like [β-s 2β], not [-s 2].
If you use [-s 2], the output is OK.
Could you try changing the models?
I copied 'resources/models' to 'resources/bin/models'.
The outputs of all models are empty. (file size is zero)
I found the reason why the output is empty. Can you check the -s option in the source code? On the command line, the -s [number] option is enclosed in quotes, like [β-s 2β], not [-s 2]. If you use [-s 2], the output is OK.
Ah good catch! Thanks! I'll have to separate the scale value and the option. Will fix that in 2.11, thank you!
@xvim64 Could you please test the latest commit if possible?
@xvim64 Could you please test the latest commit if possible?
I can test it.
Where can I get the nightly test build?
@xvim64 Could you please test the latest commit if possible?
I can test it. Where can I get the nightly test build?
You'll need to follow the instructions here: https://github.com/upscayl/upscayl?tab=readme-ov-file#-development
You'll need to follow the instructions here: https://github.com/upscayl/upscayl?tab=readme-ov-file#-development
Confirmed fixed.
Now it works well in Windows.