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
PaddleDetection PP-Vehicle车辆跟踪模块 部署 #9709
Comments
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档、常见问题、历史Issue来寻求解答。祝您生活愉快~ Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ and Github Issue to get the answer.Have a nice day! |
系统:Linux bm1684 4.9.38-bm1684-v9.6.1 #1 SMP Fri Apr 22 16:59:15 CST 2022 aarch64 GNU/Linux
代码:Paddle-Lite-Demo/PaddleLite-armlinux-demo/yolo_detection_demo
部署对象:PaddleDetection PP-Vehicle车辆跟踪模块,模型下载地址https://bj.bcebos.com/v1/paddledet/models/pipeline/mot_ppyoloe_s_36e_ppvehicle.zip
我对yolo_detection_demo.cc做了如下修改(为了适应 PP-Vehicle)
另外,yolo_detection_demo.cc之前为
现在改为
Input1类型为intshi时,运行会报错:Error input tensor precision type. Input index (1) Tensor name (scale_factor) Require precision type (float) Input precision type (int32_t)
input1为input_image.rows时,检测结果是0,即什么也没检测到。
我不懂c++,所做的修改是只是为了避免报错。
最后的检测结果展示
我应该是哪里搞错了,同样的模型(转成.nb后,照着PaddleDetection在lite下部署教程做的)在手机端进行部署后,是可以正常检测的
不知道问题出在哪里,请指教
The text was updated successfully, but these errors were encountered: