docker如何将模型数据完全离线映射? #543
Unanswered
knight-666
asked this question in
Q&A
Replies: 2 comments 5 replies
-
|
或者是打包的时候,就下载好模型数据 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
可以的。先在打包前,运行一下推理代码,保证模型和字体文件都下载好。然后打包时候,将models目录copy到镜像中即可 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
dockerfile
docker启动之后,在ocr识别时会通过网络下载RapidAI/RapidOCR/resources/fonts/*.ttf 导致无法完全离线使用
是否可以在启动docker容器时,将这些模型数据通过映射的方式使用,可以手动更新模型或者字体之类的数据
Beta Was this translation helpful? Give feedback.
All reactions