Hi all, I'm using the openvino toolkit to convert my custom ssdlite_mobilenet_v2 onnx file to use with my luxonis depthai camera in a modified version of the hellow_world.py example. Here are the steps I've taken:
1) Convert onnx to IR format (.xml and .bin):
python3 mo.py --input_model mb2-ssd-lite.onnx --output_directory --input_shape [1,3,300,300] --data_type FP16 --reverse_input_channels --framework onnx
2) Then convert IR to blob format:
./myriad_compile -m mb2-ssd-lite.xml -o mb2-ssd-lite.blob -ip U8 -VPU_NUMBER_OF_SHAVES 6 -VPU_NUMBER_OF_CMX_SLICES 6
I then modified the hello_world.py example to use my resulting converted mb2-ssd-lite.blob model. Everything goes fine, however, when I go to parse the returned packet it does not have the required format specified here in the openvino documentation.
We expect this:
In [1]: in_nn.getAllLayerNames()
Out[1]: ['detection_out']
But get this instead:
In [1]: in_nn.getAllLayerNames()
Out[1]: ['boxes', 'scores']
Here 'boxes' and 'scores' are the bounding boxes and confidences, but that's all I receive in the packet unlike 'detection_out' which contains [image_id, label, conf, x_min, y_min, x_max, y_max].
** Could it be I doing my conversion process incorrectly in steps 1 and 2 above? **
Sorry for the long post! Thanks inadvance!
Tim