Normally, the detection results contains following items:
x1, y1, x2, y2, score, class
or
x1, y1, x2, y2, score1, score2, class
And I use the yolox in this rep, the "output_results.shape[1]" is 7, and the detection results of yolor is 6
So I think you can consider the "6" case. The code can be written
if output_results.shape[1] == 5 or output_results.shape[1] == 6:
The 166th line in byte_tracker.py
Normally, the detection results contains following items: x1, y1, x2, y2, score, class or x1, y1, x2, y2, score1, score2, class And I use the yolox in this rep, the "output_results.shape[1]" is 7, and the detection results of yolor is 6 So I think you can consider the "6" case. The code can be written