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

使用 deploy/pipeline/docs/tutorials/PPHuman_QUICK_STARTED.md 提供下载的模型zip 解压后推理报缺少 model.json 的问题 #9257

Open
1 task done
whisky-12 opened this issue Dec 24, 2024 · 1 comment
Assignees

Comments

@whisky-12
Copy link

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

使用 deploy/pipeline/docs/tutorials/PPHuman_QUICK_STARTED.md 提供下载的模型zip 解压后推理报缺少 model.json 的问题

复现命令:

!python deploy/pipeline/pipeline.py --config deploy/pipeline/config/infer_cfg_pphuman.yml --image_file=../test/screenshot-20241224-171200.png --device=cpu

报错:

image

@TingquanGao TingquanGao self-assigned this Dec 24, 2024
@TingquanGao
Copy link
Collaborator

由于最新的Paddle 3.0.0b2默认使用新的.json格式的模型问题,因此造成找不到该文件的错误,我们正在做兼容适配。目前可以设置环境变量FLAGS_enable_pir_api =0然后再运行。

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