PaddlePaddle / FastDeploy

⚡️An Easy-to-use and Fast Deep Learning Model Deployment Toolkit for ☁️Cloud 📱Mobile and 📹Edge. Including Image, Video, Text and Audio 20+ main stream scenarios and 150+ SOTA models with end-to-end optimization, multi-platform and multi-framework support.
https://www.paddlepaddle.org.cn/fastdeploy
Apache License 2.0
3.01k stars 465 forks source link

fastdeploy' has no attribute 'RuntimeOption #1562

Open LEIJUNMIUI opened 1 year ago

LEIJUNMIUI commented 1 year ago

Environment

rk3568

Problem description

Please attach the log file if there's problem happend. runtime_option = build_tinypose_option(args) File "examples/vision/keypointdetection/tiny_pose/rknpu2/python/pptinypose_infer.py", line 21, in build_tinypose_option option = fd.RuntimeOption() AttributeError: module 'fastdeploy' has no attribute 'RuntimeOption'

leiqing1 commented 1 year ago

@LEIJUNMIUI 贴一下FastDeploy安装过程,和完成代码

Zheng-Bicheng commented 1 year ago

您python是自己编译的吗?

Zheng-Bicheng commented 1 year ago

解决了吗

hitzhu commented 1 year ago

应该是安装的fastdeploy不对,应该安装fastdeploy-python-gpu

xireli commented 1 year ago

解决了吗?cpu版本没问题,切换gpu版本就报错

Zheng-Bicheng commented 1 year ago

解决了吗?cpu版本没问题,切换gpu版本就报错

RKNPU不支持GPU版本,看一下编译文档哈,重新编译哈

jackyzzy commented 3 months ago

这个问题解决了吗?我也遇到同样的问题了