Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: sugoitranslator not working #844

Open
FaizR55 opened this issue Feb 9, 2025 · 1 comment
Open

[Bug]: sugoitranslator not working #844

FaizR55 opened this issue Feb 9, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@FaizR55
Copy link

FaizR55 commented Feb 9, 2025

Issue

sugoitranslator local suddenly cant do translate anymore, its still working last time i tried on 06-Feb-2025

Command Line Arguments

!python -m manga_translator local -v --attempts 100 --use-gpu --config-file examples/config-example.json -i manga-folder

Console logs

[local] Running ocr
[Model48pxOCR] prob: 0.9998939633369446 なりきって fg: (0, 0, 0) bg: (0, 0, 0)
[Model48pxOCR] prob: 0.9972001910209656 駆逐いてカブって fg: (0, 0, 0) bg: (0, 0, 0)
[Model48pxOCR] prob: 0.6251357793807983 …食べてもいいかな? fg: (5, 5, 1) bg: (5, 5, 1)
[Model48pxOCR] prob: 0.9997034668922424 おっ、プリンまだある fg: (5, 4, 0) bg: (5, 4, 0)
[Model48pxOCR] prob: 0.9978103637695312 これ昨日からあるなあ… fg: (7, 6, 3) bg: (7, 6, 3)
[local] No pre-translation replacements made.
[local] Running text translation
[SugoiTranslator] Translating into English
[local] Loading models
[local] Running text detection
[DefaultDetector] Detection resolution: 1280x1536
[local] Running ocr
@FaizR55 FaizR55 added the bug Something isn't working label Feb 9, 2025
@popcion
Copy link
Contributor

popcion commented Mar 8, 2025

A couple of days ago, I encountered the same issue where it abruptly exited at "Running OCR." Later, I found out that it was actually due to an "out of memory" error, and there is a lack of error handling here.

The same situation can also occur during rendering. The program continues to run even though no image is output successfully. There are no error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants