Skip to content

是否有更小体积的官方镜像 #3914

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

Open
4 tasks
7fan opened this issue Apr 27, 2025 · 1 comment
Open
4 tasks

是否有更小体积的官方镜像 #3914

7fan opened this issue Apr 27, 2025 · 1 comment
Assignees

Comments

@7fan
Copy link

7fan commented Apr 27, 2025

Checklist:

描述问题

我只用到了ocr功能,原来是使用python.3.11-slim的基础镜像,整个镜像只有1G不到,但是通过create_pipeline=OCR时报Illegal instruction,完全不知道什么原因。
查看相关issue,基本是让换官方镜像。把基础镜像换了,一跑构建,发现这镜像奇大,9.55GB。太离谱了。

官方镜像 ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlex/paddlex:paddlex3.0.0rc1-paddlepaddle3.0.0-cpu

本机 Docker version 28.0.4, build b8034c0

复现

  1. 您是否已经正常运行我们提供的教程

  2. 您是否在教程的基础上修改代码内容?还请您提供运行的代码

  3. 您使用的数据集是?

  4. 请提供您出现的报错信息及相关log

环境

  1. 请提供您使用的PaddlePaddle和PaddleX的版本号

  2. 请提供您使用的操作系统信息,如Linux/Windows/MacOS

  3. 请问您使用的Python版本是?

  4. 请问您使用的CUDA/cuDNN的版本号是?

@7fan
Copy link
Author

7fan commented Apr 27, 2025

替换了官方镜像后也还是报错,白瞎了。mac中都正常,跑docker就不行了,太难了

from paddlex import create_pipeline
ocr=create_pipeline(pipeline='OCR')
Using official model (PP-LCNet_x1_0_doc_ori), the model files will be automatically downloaded and saved in /root/.paddlex/official_models.
Illegal instruction

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

2 participants