-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
关于模型部署的问题: paddle serving error #9235
Comments
您好,paddle的fluid 应该是比较老的paddle版本中采用的算子,可以尝试一些2.x的paddle版本。最新的部署方式建议您看一下 PaddleX文档的 3. 开发集成/部署部分。这个paddleX 中 paddle detection模型的文档 https://github.com/PaddlePaddle/PaddleX/blob/develop/docs/pipeline_usage/tutorials/cv_pipelines/object_detection.md |
您好! 我尝试回退paddle到 2.4.0下面, 再次运行上面的export_model.py 命令,发现还是报错: |
上面的错误不知道是不是安装环境的问题? 还是export_model.py脚本的问题? Paddle X的部署我学习一下,然后再告诉你结果。 |
谢谢! |
!pip install --user paddlex==3.0.0b2,然后AI studio 重启一下内核呢? |
还是一样报错,重启了两次, 你那边可以试一下,这个命令不麻烦,安装也快. Paddle version 3.0.0-beta2 |
paddle 版本在2.4下面是不是paddle serving也报错? paddle serving是不是不建议使用了? |
关于paddleX上的部署,上面这个文档我看完了,似懂非懂,飞桨有没有一个典型例子能够实际演练一下,切身体会怎么做? |
可以进群了解一下吧,参与一次打卡营应该就对流程比较清楚了,我不是搞部署方面的, |
好的,谢谢! |
问题确认 Search before asking
Bug组件 Bug Component
Deploy
Bug描述 Describe the Bug
按照 ~/deploy/README.md 中的指导导出paddleserving格式的模型:
python tools/export_model.py -c configs/yolov3/yolov3_mobilenet_v1_roadsign.yml -o weights=output/yolov3_mobilenet_v1_roadsign/best_model.pdparams --export_serving_model=True
会报错:
Traceback (most recent call last):
File "tools/export_model.py", line 118, in
main()
File "tools/export_model.py", line 114, in main
run(FLAGS, cfg)
File "tools/export_model.py", line 84, in run
from paddle_serving_client.io import inference_model_to_serving
File "/home/wade/.local/share/virtualenvs/3.paddle-l301jT_O/lib/python3.8/site-packages/paddle_serving_client/io/init.py", line 16, in
from paddle.fluid import Executor
ModuleNotFoundError: No module named 'paddle.fluid'
请问:现在云端部署还是用paddle-serving吗?还是用其他方法?
最近在做这方面的一个项目,打算用paddle做云端部署,还不知道改怎么弄,哪里有相关的文档?
比较着急,谢谢!
复现环境 Environment
ubuntu 20
paddle: 2.6.2
运行上述命令
Bug描述确认 Bug description confirmation
是否愿意提交PR? Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: