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

Check model loading #113

Open
mikegerber opened this issue Jul 12, 2024 · 1 comment
Open

Check model loading #113

mikegerber opened this issue Jul 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mikegerber
Copy link
Collaborator

When giving a model/checkpoint_dir on the cmd line, ocrd_calamari seems to load it twice:

ocrd_calamari_pr112/actevedef_718448162.first-page+binarization+segmentation on ๎‚  patch-3 via ๐Ÿ v3.11.7 (ocrd_calamari_pr112) took 41s
โฏ ocrd-calamari-recognize -I OCR-D-SEG-LINE-SBB -O TEST -P checkpoint_dir qurator-gt4histocr-1.0
/home/b-mg106/.pyenv/versions/3.11.7/envs/ocrd_calamari_pr112/lib/python3.11/site-packages/numpy/core/getlimits.py:542: UserWarning: Signature b'\x00\xd0\xcc\xcc\xcc\xcc\xcc\xcc\xfb\xbf\x00\x00\x00\x00\x00\x00' for <class 'numpy.longdouble'> does not match any known type: falling back to type probe function.
This warnings indicates broken support for the dtype!
  machar = _get_machar(dtype)
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None
Checkpoint version 2 is up-to-date.
None

I also tried to load an invalid checkpoint_dir, and some(!) 5 checkpoints loaded fine, so this needs a bit of investigating.

@mikegerber mikegerber self-assigned this Jul 12, 2024
@mikegerber mikegerber added the bug Something isn't working label Jul 12, 2024
@mikegerber
Copy link
Collaborator Author

Don't know yet what is going on here

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

1 participant