You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having hard time figuring out how to properly process yolov8 output with Non-Maximum Supression operator
I've got yolo output in device memory, how would I go about creating required tensors for NMS operator?
Also, without copying memory from device to host for data processing and back to device again for NMS operator
As far as I understand, yolo output is this for batch size of 1, data type is f32:
[x, x, x... x]
[y, y, y... y]
[w, w, w... w]
[h, h, h... h]
[cls,cls,cls... cls]
And NMS operator expects it in this format for batch size of 1, data type is int16:
[x,y,w,h...x,y,w,h]
I've only came up with a solution to copy device memory to host, create array of 4 component int16 vectors, copy them to device memory and pass to the operator, which sounds really bad
Hi!
Having hard time figuring out how to properly process yolov8 output with Non-Maximum Supression operator
I've got yolo output in device memory, how would I go about creating required tensors for NMS operator?
Also, without copying memory from device to host for data processing and back to device again for NMS operator
As far as I understand, yolo output is this for batch size of 1, data type is f32:
[x, x, x... x]
[y, y, y... y]
[w, w, w... w]
[h, h, h... h]
[cls,cls,cls... cls]
And NMS operator expects it in this format for batch size of 1, data type is int16:
[x,y,w,h...x,y,w,h]
I've only came up with a solution to copy device memory to host, create array of 4 component int16 vectors, copy them to device memory and pass to the operator, which sounds really bad
This is what I've currently got:
frame->outputLayer
isnvcv::Optional<nvcv::TensorDataStridedCuda>
, which is instantiated asand passed to TensorRT inference
The text was updated successfully, but these errors were encountered: