Hugging Face's logo
zouguojun
/
Runtime error

runtime error

οΏ½οΏ½β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 409M/409M [00:08<00:00, 45.9MB/s] Downloading (…)okenizer_config.json: 0%| | 0.00/320 [00:00<?, ?B/s] Downloading (…)okenizer_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 320/320 [00:00<00:00, 343kB/s] Downloading (…)solve/main/vocab.txt: 0%| | 0.00/110k [00:00<?, ?B/s] Downloading (…)solve/main/vocab.txt: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 110k/110k [00:00<00:00, 47.4MB/s] Downloading (…)cial_tokens_map.json: 0%| | 0.00/112 [00:00<?, ?B/s] Downloading (…)cial_tokens_map.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 112/112 [00:00<00:00, 231kB/s] [WARNING 2023-10-13 02:22:20,875 _assert_and_prepare_model_files:173] no onnx file is found in /home/user/.cnocr/2.2/densenet_lite_136-fc 0%| | 0/5579 [00:00<?, ?KB/s] 0%| | 12/5579 [00:00<01:44, 53.49KB/s] 1%| | 40/5579 [00:00<00:58, 95.12KB/s] 2%|▏ | 92/5579 [00:00<00:34, 157.11KB/s] 3%|β–Ž | 148/5579 [00:00<00:28, 193.21KB/s] 5%|β–Œ | 292/5579 [00:01<00:12, 410.80KB/s] 9%|β–‰ | 524/5579 [00:01<00:06, 766.16KB/s] 11%|β–ˆ | 619/5579 [00:01<00:07, 680.60KB/s] 20%|β–ˆβ–ˆ | 1132/5579 [00:01<00:02, 1493.78KB/s] 36%|β–ˆβ–ˆβ–ˆβ–Œ | 2000/5579 [00:01<00:01, 2880.23KB/s] 42%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 2331/5579 [00:01<00:01, 2497.97KB/s] 78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 4344/5579 [00:01<00:00, 5792.32KB/s] 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5579/5579 [00:02<00:00, 2735.43KB/s] Traceback (most recent call last): File "app.py", line 13, in <module> ocr = CnOcr() File "/home/user/.local/lib/python3.8/site-packages/cnocr/cn_ocr.py", line 155, in __init__ self.rec_model = rec_cls( File "/home/user/.local/lib/python3.8/site-packages/cnocr/recognizer.py", line 142, in __init__ self._model = self._get_model(context) File "/home/user/.local/lib/python3.8/site-packages/cnocr/recognizer.py", line 195, in _get_model import onnxruntime as ort ModuleNotFoundError: No module named 'onnxruntime'

Container logs:

Fetching error logs...