File "/opt/miniconda3/envs/nteract/lib/python3.7/site-packages/calamari_ocr/ocr/predictor.py", line 228, in __init__
data_preproc=data_preproc, processes=processes) for cp in checkpoints]
File "/opt/miniconda3/envs/nteract/lib/python3.7/site-packages/calamari_ocr/ocr/predictor.py", line 228, in <listcomp>
data_preproc=data_preproc, processes=processes) for cp in checkpoints]
File "/opt/miniconda3/envs/nteract/lib/python3.7/site-packages/calamari_ocr/ocr/predictor.py", line 102, in __init__
ckpt = Checkpoint(checkpoint, auto_update=self.auto_update_checkpoints)
File "/opt/miniconda3/envs/nteract/lib/python3.7/site-packages/calamari_ocr/ocr/checkpoint.py", line 20, in __init__
with open(self.json_path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/arbeit/Documents/calamari-models/calamari_official_fraktur_19th_century/0.ckpt.json'
I updated the 19th century Fraktur models, fixing this problem in the process. Thanks!
The new models should also be more performant than the old ones. The remaining ensembles will be updated soon.
It seems that
0.ckpt.json
is missing from https://github.com/Calamari-OCR/calamari_models/tree/master/fraktur_19th_century, which gives the following error when loading: