Tohrusky/Final2x

[Bug] 文件处理时,未显示进度或只显示50%

Closed this issue · 2 comments

Please carefully review each item in the checklist below | 请认真检查以下清单中的每一项 | 以下のチェックリストの各項目を注意深く確認してください

  • Searched and didn't find a similar issue | 已经搜索过,没有发现类似issue | 類似の問題が見つかりませんでした
  • Searched documentation and didn't find relevant content | 已经搜索过文档,没有发现相关内容 | ドキュメントを検索して関連する内容が見つかりませんでした
  • Tried with the latest version and the issue still exists | 已经尝试使用过最新版,问题依旧存在 | 最新バージョンを試しましたが問題は解消されませんでした

Software Version | 软件版本 | ソフトウェアバージョン

1.2.0

Operating System | 操作系统 | オペレーティングシステム

Windows arm64

System Version | 系统版本 | システムバージョン

23H2 22631.3085

Describe the bug | 描述错误 | BUGの説明

图片文件偏大时,不显示进度,只显示100%
图片文件小时,只显示50%和100%

To reproduce | 复现步骤 | 再現方法

1.运行软件
2.选择PNG或JPG图片
3.GPU选择Auto
4.TTA打开
5.自定义Scale:2

Error log | 报错日志 | ログ

Log
[{"label":"CPU: ™ 8cx Gen 3","value":-1},{"label":"GPU 0: Qualcomm(R) Adreno(TM) 8cx Gen 3","value":0},{"label":"GPU 1: Virtual Display Device","value":1},{"label":"GPU: Auto","value":114514}]
{"gpuid":0,"inputpath":["C:\Users\11593\Downloads\outputs\2.0x-屏幕截图 2023-09-26 215414.png"],"model":"RealESRGAN","modelscale":4,"modelnoise":0,"outputpath":"C:\Users\11593\Downloads","targetscale":2,"tta":true}
2024-01-30 22:42:01.023 | INFO | main:main:55 - projectPATH: C:\Users\11593\AppData\Local\Programs\Final2x\resources\app\resources\Final2x-core
2024-01-30 22:42:01.024 | INFO | main:main:70 - config loaded
2024-01-30 22:42:01.024 | DEBUG | main:main:71 - C:\Users\11593\Downloads
2024-01-30 22:42:01.026 | INFO | Final2x_core.src.SRFactory.SRBaseClass:_set_sr_n:50 - sr_n set to 1
2024-01-30 22:42:01.026 | INFO | Final2x_core.src.SRFactory.SRBaseClass:init:32 - SRBaseClass init
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] queueC=1[8] queueG=0[4] queueT=0[4]
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] fp16-p/s/a=1/0/0 int8-p/s/a=1/0/0
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] subgroup=64 basic=1 vote=1 ballot=1 shuffle=1
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] queueC=1[8] queueG=0[4] queueT=0[4]
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] bugsbn1=0 bugbilz=3 bugcopc=0 bugihfa=0
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] fp16-p/s/a=1/1/1 int8-p/s/a=1/0/0
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] subgroup=4 basic=1 vote=1 ballot=1 shuffle=1
2024-01-30 22:42:04.252 | INFO | Final2x_core.src.SRFactory.REALESRGAN:_init_SR_class:58 - RealESRGAN model loaded
2024-01-30 22:42:04.254 | INFO | Final2x_core.src.SRqueue:SR_queue:22 - Processing------[ 0.0% ]
2024-01-30 22:42:04.267 | WARNING | Final2x_core.src.SRqueue:SR_queue:54 - 4 channels image detected.
2024-01-30 22:42:04.268 | INFO | Final2x_core.src.SRqueue:SR_queue:70 - Processing: C:\Users\11593\Downloads\outputs\2.0x-��Ļ��ͼ 2023-09-26 215414.png, save to: C:\Users\11593\Downloads\outputs\2.0x-2.0x-��Ļ��ͼ 2023-09-26 215414.png
0.00%
2024-01-30 22:42:16.345 | INFO | Final2x_core.src.utils.progressLog:printProgress:29 - Processing------[ 50.0% ]
0.00%
2024-01-30 22:42:29.282 | INFO | Final2x_core.src.utils.progressLog:printProgress:29 - Processing------[ 100.0% ]
2024-01-30 22:42:29.294 | SUCCESS | Final2x_core.src.SRqueue:SR_queue:83 - Process_Completed: C:\Users\11593\Downloads\outputs\2.0x-��Ļ��ͼ 2023-09-26 215414.png
2024-01-30 22:42:29.377 | SUCCESS | main:main:75 - SR_COMPLETED
CLOSE CODE:3221226505
[{"label":"CPU: ™ 8cx Gen 3","value":-1},{"label":"GPU 0: Qualcomm(R) Adreno(TM) 8cx Gen 3","value":0},{"label":"GPU 1: Virtual Display Device","value":1},{"label":"GPU: Auto","value":114514}]
{"gpuid":0,"inputpath":["C:\Users\11593\Downloads\2859EEF80E898594799B57330741CA2E.jpg"],"model":"RealESRGAN","modelscale":4,"modelnoise":0,"outputpath":"C:\Users\11593\Downloads","targetscale":2,"tta":true}
2024-01-30 22:42:55.130 | INFO | main:main:55 - projectPATH: C:\Users\11593\AppData\Local\Programs\Final2x\resources\app\resources\Final2x-core
2024-01-30 22:42:55.131 | INFO | main:main:70 - config loaded
2024-01-30 22:42:55.131 | DEBUG | main:main:71 - C:\Users\11593\Downloads
2024-01-30 22:42:55.131 | INFO | Final2x_core.src.SRFactory.SRBaseClass:_set_sr_n:50 - sr_n set to 1
2024-01-30 22:42:55.132 | INFO | Final2x_core.src.SRFactory.SRBaseClass:init:32 - SRBaseClass init
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] queueC=1[8] queueG=0[4] queueT=0[4]
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] bugsbn1=0 bugbilz=115 bugcopc=0 bugihfa=0
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] fp16-p/s/a=1/0/0 int8-p/s/a=1/0/0
[0 Microsoft Direct3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)] subgroup=64 basic=1 vote=1 ballot=1 shuffle=1
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] queueC=1[8] queueG=0[4] queueT=0[4]
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] bugsbn1=0 bugbilz=105 bugcopc=0 bugihfa=0
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] fp16-p/s/a=1/1/1 int8-p/s/a=1/0/0
[1 Microsoft Direct3D12 (Microsoft Basic Render Driver)] subgroup=4 basic=1 vote=1 ballot=1 shuffle=1
2024-01-30 22:42:58.392 | INFO | Final2x_core.src.SRFactory.REALESRGAN:_init_SR_class:58 - RealESRGAN model loaded
2024-01-30 22:42:58.393 | INFO | Final2x_core.src.SRqueue:SR_queue:22 - Processing------[ 0.0% ]
2024-01-30 22:42:58.394 | WARNING | Final2x_core.src.SRqueue:SR_queue:29 - Image already exists: C:\Users\11593\Downloads\outputs\2.0x-2859EEF80E898594799B57330741CA2E.png
2024-01-30 22:42:58.395 | WARNING | Final2x_core.src.SRqueue:SR_queue:34 - Try to save to: C:\Users\11593\Downloads\outputs\2.0x-2859EEF80E898594799B57330741CA2E(1).png
2024-01-30 22:42:58.425 | INFO | Final2x_core.src.SRqueue:SR_queue:70 - Processing: C:\Users\11593\Downloads\2859EEF80E898594799B57330741CA2E.jpg, save to: C:\Users\11593\Downloads\outputs\2.0x-2859EEF80E898594799B57330741CA2E(1).png
0.00%
2.38%
4.76%
7.14%
9.52%
11.90%
14.29%
16.67%
19.05%
21.43%
23.81%
26.19%
28.57%
30.95%
33.33%
35.71%
38.10%
40.48%
42.86%
45.24%
47.62%
50.00%
52.38%
54.76%
57.14%
59.52%
61.90%
64.29%
66.67%
69.05%
71.43%
73.81%
76.19%
78.57%
80.95%
83.33%
85.71%
88.10%
90.48%
92.86%
95.24%
97.62%
2024-01-30 22:55:33.979 | INFO | Final2x_core.src.utils.progressLog:printProgress:29 - Processing------[ 100.0% ]
2024-01-30 22:55:34.460 | SUCCESS | Final2x_core.src.SRqueue:SR_queue:83 - Process_Completed: C:\Users\11593\Downloads\2859EEF80E898594799B57330741CA2E.jpg
2024-01-30 22:55:34.564 | SUCCESS | main:main:75 - SR_COMPLETED
CLOSE CODE:3221226505

Additional context | 附加内容 | 追加コンテキスト

符合预期,进度条是超分次数
第一张图是RGBA图片,多了一个透明通道
批量拖入图片,或者拉大scale可以看到你想要的

Bot detected the issue body's language is not English, translate it automatically.


As expected, the progress bar is the number of overscores
The first picture is an RGBA picture with an additional transparent channel.
Drag in pictures in batches, or enlarge the scale to see what you want