zyddnys / manga-image-translator

Translate manga/image 一键翻译各类图片内文字 https://cotrans.touhou.ai/
https://cotrans.touhou.ai/
GNU General Public License v3.0
5.4k stars 557 forks source link

[Bug]: Process returned non-zero exit status. Skipping upscaling. #717

Open cycham0 opened 1 month ago

cycham0 commented 1 month ago

Issue

the upscale function cannot work

Command Line Arguments

python -m manga_translator  -v --translator=gpt3.5 -l CHT --upscale-ratio 4 --overwrite --use-gpu -i "path"

Console logs

[batch] Loading models
[batch] Running upscaling
WARNING: [ESRGANUpscaler] Process returned non-zero exit status. Skipping upscaling.
[batch] Running text detection
[DefaultDetector] Detection resolution: 1024x1536
[batch] Running ocr
zyddnys commented 1 month ago

i don't know what exactly is the error, maybe you can reduce the upscale ratio