tensorrtx icon indicating copy to clipboard operation
tensorrtx copied to clipboard

Yolov8 输出结果的bbox格式

Open wgd4510 opened this issue 1 year ago • 4 comments

Env

  • GPU, RTX1660
  • OS, , Win10
  • Cuda 11.1
  • TensorRT 8.4

About this repo

  • which branch/tag/commit are you using? master
  • which model? yolov5, retinaface? yolov8 and yolov5-7.0

Your problem

https://github.com/wang-xinyu/tensorrtx/blob/432a6729a776d08d405f5adc75171aa3174a1527/yolov5/src/postprocess.cpp#L4

https://github.com/wang-xinyu/tensorrtx/blob/432a6729a776d08d405f5adc75171aa3174a1527/yolov8/src/postprocess.cpp#L4

 Yolov5-7.0 的get_rect函数 bbox的形式是 xywh。为什么Yolov8的get_rect函数 bbox的形式是 xyxy。
 yolov8的pth模型输出不是xywh吗,为什么转成engine后模型输出会变成xyxy,在哪里做了转换吗?

wgd4510 avatar Feb 27 '24 07:02 wgd4510

后处理部分有转换

wang-xinyu avatar Feb 27 '24 11:02 wang-xinyu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 05 '24 05:05 stale[bot]

后处理部分有转换

请问后处理哪里转的,我也遇到了这个问题

abcc235 avatar Jul 02 '24 07:07 abcc235

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 06 '24 02:09 stale[bot]