yolov5-onnxruntime icon indicating copy to clipboard operation
yolov5-onnxruntime copied to clipboard

[Question] Sample with Anchor Box

Open amarflybot opened this issue 2 years ago • 1 comments

This is great reference for c++. Question: In Line https://github.com/itsnine/yolov5-onnxruntime/blob/master/src/detector.cpp#L112 . Why are we considering only first element of outputTensors, It has 4 output array. We could request for all 4 outputs if we change parameters in https://github.com/itsnine/yolov5-onnxruntime/blob/master/src/detector.cpp#L190

Any particular reason to go this way?

I could not find any reference including Anchor_boxes, Could you please add one? Thanks.

amarflybot avatar Sep 30 '22 07:09 amarflybot

I know what happened, the first output array is the large set of the remaining three, it is the collection of the three sizes of anchor boxes to the first output array, but I want to know why the output of my own training transformed model does not have the first large array, can you solve this problem please?

Cats-eat-peppercorns avatar Mar 28 '23 12:03 Cats-eat-peppercorns