sdcb/mini-openvino-facedetection

TF2 object detection vino mode shows error message

terryll opened this issue · 1 comments

Thanks for the nugget. I have been waiting for it for a long time.
The sample worked. However, when I used my own vino model, it gives me an error message.

The model is a tf2 object detection model exported to vino.
The error message is:
Sdcb.OpenVINO.OpenVINOException: 'general error(-1) in file "C:\Users\ZhouJie\source\repos\OpenVINO.NET\src\Sdcb.OpenVINO\TensorIndexer.cs" member "Primary" at line 97 when calling "ov_infer_request_set_input_tensor(_req, (ov_tensor*)value.DangerousGetHandle())"'

Please let me know if this method will work with tf2 object detection models.
Thanks in advance.

sdcb commented

try change Primary into [0]