-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Problem in generating .mokuro and .html files. #107
Comments
Seems like the model file is corrupted. Try downloading it manually from: https://github.com/zyddnys/manga-image-translator/releases/download/beta-0.2.1/comictextdetector.pt and replace this file: |
Thank you very much @kha-white!! My input: The following output:
I hope it won't bother you since I have no clue in where or why the problems occur. If it is possible, could I try downloading the older version of mokuro? |
Older version mokuro is unlikely to help, seems like issue was introduced by this change in transformers library and patch in Pytorch was needed, see pytorch/pytorch#124518 You might check if nightly Pytorch build fixes this for you, or try running |
I am also currently experiencing this on Fedora with python 3.12.4 |
Lately, I have to reset my laptop and reinstall mokuro, following the steps on Lazy Guide (except for the CUDA step which is optional). However, I kept getting this error message: "RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory" and the _OCR folder appeared with nothing inside.
Before resetting, mokuro can generate .html files without any problem.
My input:
mokuro /Users/npk/Documents/Nana/v01
The following output:
I use:
MacOS Monterey 12.7.5,
Python 3.10.11,
Pip 23.0.1,
And just install mokuro v0.2.1.
I hope to find a solution to this issue soon. I am not very tech-savvy, but I will do my best to understand. Thank you in advance.
The text was updated successfully, but these errors were encountered: