-
Notifications
You must be signed in to change notification settings - Fork 32
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
resmgr: Downloaded models are not found #804
Comments
Have you tried saving the models to a separate permanent directory on your host system and mounting it in your Docker container? I stumbled upon this, too, and following the steps proposed here did the job for me. |
That solved it, thank you! I didn't find that part of the documentation.
Executing from the parent directory of both /data and /models. |
Glad to hear it helped and thanks for closing this issue right away! |
Oh, good point. The guide is indeed inaccurate here. Your solution of using root for the resmgr calls but then your host user for the subsequent data processing is a good workaround. But that also means your @kba we should probably move this to ocrd_all and reopen. |
Another point is that ocrd_all does declare
when trying resmgr actions as unprivileged user. |
I believe the only sane way out of this maze is via userns-remap, i.e. by mapping the unprivileged host-side user to root user in the container. |
Ah, just saw this is a duplicate of OCR-D/ocrd_all#252 – which has |
When I use resmgr to download a model, it isn't found. I don't see any error messages. Changing the data location for the models didn't help.
When using "ocrd resmgr list-installed", I also don't see the downloaded models. What am I doing wrong?
I use the Docker image under Ubuntu 20.04.
The text was updated successfully, but these errors were encountered: