PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

How to disable .paddleocr directory creation?

Open Ocean-Moist opened this issue 1 year ago • 2 comments

请提出你的问题 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.

Ocean-Moist avatar May 13 '24 19:05 Ocean-Moist

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.

UserWangZz avatar May 16 '24 08:05 UserWangZz

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.

Ocean-Moist avatar May 19 '24 00:05 Ocean-Moist

Anyone has found solution for this?

saikumar305 avatar May 29 '24 06:05 saikumar305