Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2025-12-14 23:43:56.938 | INFO | manga_ocr.ocr:__init__:16 - Loading OCR model from kha-white/manga-ocr-base
- Traceback (most recent call last):
- File "/usr/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 550, in hf_raise_for_status
- response.raise_for_status()
- ~~~~~~~~~~~~~~~~~~~~~~~~~^^
- File "/usr/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
- raise HTTPStatusError(message, request=request, response=self)
- httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/api/models/kha-white/manga-ocr-base/tree/main/additional_chat_templates?recursive=false&expand=false'
- For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/bin/manga_ocr", line 8, in <module>
- sys.exit(main())
- ~~~~^^
- File "/usr/lib/python3.13/site-packages/manga_ocr/__main__.py", line 7, in main
- fire.Fire(run)
- ~~~~~~~~~^^^^^
- File "/usr/lib/python3.13/site-packages/fire/core.py", line 135, in Fire
- component_trace = _Fire(component, args, parsed_flag_args, context, name)
- File "/usr/lib/python3.13/site-packages/fire/core.py", line 468, in _Fire
- component, remaining_args = _CallAndUpdateTrace(
- ~~~~~~~~~~~~~~~~~~~^
- component,
- ^^^^^^^^^^
- ...<2 lines>...
- treatment='class' if is_class else 'routine',
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- target=component.__name__)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.13/site-packages/fire/core.py", line 684, in _CallAndUpdateTrace
- component = fn(*varargs, **kwargs)
- File "/usr/lib/python3.13/site-packages/manga_ocr/run.py", line 67, in run
- mocr = MangaOcr(pretrained_model_name_or_path, force_cpu)
- File "/usr/lib/python3.13/site-packages/manga_ocr/ocr.py", line 18, in __init__
- self.tokenizer = AutoTokenizer.from_pretrained(pretrained_model_name_or_path)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.13/site-packages/transformers/models/auto/tokenization_auto.py", line 1140, in from_pretrained
- return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.13/site-packages/transformers/tokenization_utils_base.py", line 2038, in from_pretrained
- for template in list_repo_templates(
- ~~~~~~~~~~~~~~~~~~~^
- pretrained_model_name_or_path,
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...<3 lines>...
- token=token,
- ^^^^^^^^^^^^
- ):
- ^
- File "/usr/lib/python3.13/site-packages/transformers/utils/hub.py", line 169, in list_repo_templates
- for entry in list_repo_tree(
- ~~~~~~~~~~~~~~^
- repo_id=repo_id,
- ^^^^^^^^^^^^^^^^
- ...<3 lines>...
- token=token,
- ^^^^^^^^^^^^
- )
- ^
- File "/usr/lib/python3.13/site-packages/huggingface_hub/hf_api.py", line 3080, in list_repo_tree
- for path_info in paginate(path=tree_url, headers=headers, params={"recursive": recursive, "expand": expand}):
- ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.13/site-packages/huggingface_hub/utils/_pagination.py", line 37, in paginate
- hf_raise_for_status(r)
- ~~~~~~~~~~~~~~~~~~~^^^
- File "/usr/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 564, in hf_raise_for_status
- raise _format(RemoteEntryNotFoundError, message, response) from e
- huggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-693f920d-1febfb457bdb85963134c035;fe74eecd-1568-4e31-9a61-c2d63a9f864e)
- Entry Not Found for url: https://huggingface.co/api/models/kha-white/manga-ocr-base/tree/main/additional_chat_templates?recursive=false&expand=false.
- additional_chat_templates does not exist on "main"
Advertisement
Add Comment
Please, Sign In to add comment