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

How to disable .paddleocr directory creation? #12123

Open
Ocean-Moist opened this issue May 13, 2024 · 3 comments
Open

How to disable .paddleocr directory creation? #12123

Ocean-Moist opened this issue May 13, 2024 · 3 comments
Assignees

Comments

@Ocean-Moist
Copy link

请提出你的问题 Please ask your question

In PaddlePaddle/Paddle#48873 they say to disable .paddleocr file creation to get paddleocr to work in the docker container, but I can not find anything in the docs about how to do this. I can also do ENV HOME=/tmp but I do not want to spend time downloading files unnecessarily.

@jzhang533 jzhang533 transferred this issue from PaddlePaddle/Paddle May 15, 2024
@DesmonDay DesmonDay removed their assignment May 16, 2024
@UserWangZz
Copy link
Collaborator

When you do not specify the default detection and recognition model address, paddleocr will download the official model by default. You can delete it manually, or it will not be downloaded the second time after downloading.

@Ocean-Moist
Copy link
Author

To avoid re-downloading these files each time a new container is created, is it possible to pre-download the files and store them in a local directory? This way, when a new container is started, it can copy the files from the local directory instead of downloading them again.

@saikumar305
Copy link

Anyone has found solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants