Zhongdao / Towards-Realtime-MOT

Joint Detection and Embedding for fast multi-object tracking
MIT License
2.39k stars 539 forks source link

Error: export to onnx and inference by opencv #103

Open verigle opened 4 years ago

verigle commented 4 years ago

I convert to onnx model from .pt model you provided,but when inference on opencv, has an error:

self.model = cv2.dnn.readNetFromONNX(onnx_path) cv2.error: OpenCV(4.2.0) /io/opencv/modules/dnn/include/opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested object was not found) Required argument "starts" not found into dictionary in function 'get'

sasanasadiabadi commented 4 years ago

could you fix this issue? have the same problem with OpenCV4.3.0

verigle commented 4 years ago

could you fix this issue? have the same problem with OpenCV4.3.0

I use onnx-runtime for inference instead of opencv.dnn