Skip to content
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

Yolov8s.engine文件检测推理结果格式错误 #1497

Open
Yaquarius opened this issue Apr 24, 2024 · 1 comment
Open

Yolov8s.engine文件检测推理结果格式错误 #1497

Yaquarius opened this issue Apr 24, 2024 · 1 comment

Comments

@Yaquarius
Copy link

Env

  • Ubuntu 20.04
  • Cuda 11.4
  • TensorRT 8.2.3
    _R-C (1)

About this repo

  • which model? yolov8s

Your problem

  • Hello, when I am testing the detection task with the generated yolov8s.engine file, the reasoning inference result that comes out only shows the prediction box and numeric labels, but not the category and confidence level, what should I do to solve it?
@wang-xinyu
Copy link
Owner

You need to modify the draw_bbox function

void draw_bbox(std::vector<cv::Mat>& img_batch, std::vector<std::vector<Detection>>& res_batch) {

@Yaquarius Yaquarius changed the title Yolov8s.engine file inference result error Yolov8s.engine文件检测推理结果格式错误 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants