Paddle_Inference下C++推理PPHuman模型问题
danve-fan opened this issue · 6 comments
问题确认 Search before asking
- 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.
请提出你的问题 Please ask your question
Paddle_Inference下C++推理PPHuman模型问题
1、采用PPHuman发布的模型mot_ppyoloe_l_36e_pipeline,下载地址:
https://github.com/PaddlePaddle/PaddleDetection/blob/release/2.4/deploy/pphuman/README_en.md
2、采用Paddle_Inference读取模型并分析图片,采用的代码是实例代码:
Paddle-Inference-Demo\c++\cpu\yolov3\yolov3_test.cc
4、整个分析过程看不出问题,推理没有异常,output_names/shape都是正确的,但是到
int output_size = std::accumulate(output_shape.begin(), output_shape.end(), 1,
std::multiplies());
output_size == 0,这里是为什么是0 ???????????????
建议先试用下PaddleDetection库中的代码试试,如果没问题,可以对你找下差异
建议先试用下PaddleDetection库中的代码试试,如果没问题,可以对你找下差异
麻烦说下具体哪个代码?
参考文档https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.4/deploy/pphuman
这里面是PYTHON代码,PYTHON代码可以的,但是C++代码不行,有没有这方面准确的例子
建议先确定使用PaddleDetection库中的CPP部署代码可以运行。可以去这里提issue https://github.com/PaddlePaddle/Paddle-Inference-Demo/issues
PaddleDetection库中的CPP部署代码
PaddleDetection库中的CPP部署代码在哪里?
另外,Paddle-Inference-Demo/issues那边没人能回应啊