Tiny YOLO sample , width != height

Hi,

I have a darknet network - almost identical to yolov2Tiny - but the height is not equal to the width.

I’m trying to use it with the objectDetector example, and get (as expected):

deepstream-app: yolo.cpp:426: void Yolo::parseConfigBlocks(): Assertion `m_InputW == m_InputH’ failed.
Aborted (core dumped)

any ideas how can I patch this ?

Thanks for the help !

There’s a patch offered by another user here - Please check if that helps your use-case

https://devtalk.nvidia.com/default/topic/1066725/deepstream-sdk/trouble-in-converting-non-square-grid-in-yolo-network-to-tensorrt-via-deepstream/post/5415091/#5415091

Great, thanks a lot for the help !