PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

在Jetson nano上运行picodet报错,picodet后处理picodet_postprocess有问题

Open joyWang-77 opened this issue 11 months ago • 3 comments

问题确认 Search before asking

  • [X] 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

Bug组件 Bug Component

Inference

Bug描述 Describe the Bug

在Jetson nano上运行picodet报错, 运行指令:python3 deploy/python/infer.py --model_dir=sebot_test/picodet/picodet_s_416_coco/ --video_file=./demo/1.mp4 --device=GPU 报错信息: File "/root/workspace/sebot_paddle/sebot_paddleDetect/PaddleDetection/deploy/python/picodet_postprocess.py", line 164, in call box_distance = np.sum(box_distance, axis=1).reshape((-1, 4)) ValueError: cannot reshape array of size 1 into shape (4) 也就是picodet后处理有问题

复现环境 Environment

-OS: Linux -PaddleInference -PaddleDetection -Jetpack: 4.4 -cuda: 10.2

Bug描述确认 Bug description confirmation

  • [X] 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • [X] 我愿意提交PR!I'd like to help by submitting a PR!

joyWang-77 avatar Jul 12 '23 02:07 joyWang-77

什么版本的ppdet

lyuwenyu avatar Jul 12 '23 05:07 lyuwenyu

什么版本的ppdet

2.0的,我也试了最新的ppdet,最新的ppdet不报错但是也用不了

joyWang-77 avatar Jul 12 '23 07:07 joyWang-77

用不了指什么 结果不对嘛

lyuwenyu avatar Feb 28 '24 06:02 lyuwenyu