The issue described involves TensorRT and YOLOv5 ONNX model export. Specifically:
Incorrect TensorRT Output Shape:
The expected output for a YOLOv5 ONNX model is:
3x640x640 for input.
25200x4, 25200x1, 25200x1 for boxes, scores, and classes respectively.
Instead, the output is concatenated as a single tensor: 25200x6.
This indicates the exported ONNX model is not properly handling YOLOv5's expected separate outputs (boxes, scores, classes).
The issue described involves TensorRT and YOLOv5 ONNX model export. Specifically:
Incorrect TensorRT Output Shape:
The expected output for a YOLOv5 ONNX model is:
3x640x640 for input.
25200x4, 25200x1, 25200x1 for boxes, scores, and classes respectively.
Instead, the output is concatenated as a single tensor: 25200x6.
This indicates the exported ONNX model is not properly handling YOLOv5's expected separate outputs (boxes, scores, classes).