My goal is to convert DeepSort coded in PyTorch (https://github.com/ZQPei/deep_sort_pytorch) to OpenVino. DeepSort uses Yolov3 as detector.
I successfully converted yolov3 to IR following this guide.
Running the pytorch model of yolo [
outputs a dictionary with three keys (3 scales) and each dictionary is composed of 3 elements [x, a, n], prediction, anchors and number of anchors.
However, running the openvino model of yolo:
outputs a dictionary with three keys (3 scales) where each dictionary contains only the numpy array. Therefore, "a" and "n" (anchors and number of anchors) are missing. Therefore, I am unable to retreieve the detections...
Does anyone know how I can tackle this?
Thank you in advance!
Greetings to you.
OpenVINO supports certain PyTorch models via ONNX conversion, and DeepSort with PyTorch is not one of the officially supported models.
More information regarding supported PyTorch models can be obtained at the following page:
Having said that, moving on to your question on how to tackle missing anchors, try optimizing your model by implementing decomposition for ReduceL2 layer.
More information about decomposition techniques is available at the following pages :
Additionally, detailed information of model conversion process for Faster R-CNN topologies is available at the following page: