-
Notifications
You must be signed in to change notification settings - Fork 707
Closed
Description
Environment
Windows10
onnxruntime 1.8.0
openvino openvino_2022.1.0.643
pip list
...
openvino 2022.1.0
openvino-dev 2022.1.0
...
Reproduction
- convert pytorch to openvino
python tools/deploy.py ./configs/mmdet/detection/detection_openvino_dynamic-800x1344.py \
../mmdetection/configs/retinanet/retinanet_r50_fpn_1x_coco.py \
benchmark/retinanet_r50_fpn_1x_coco_20200130-c2398f9e.pth ../mmdetection/demo/demo.jpg \
--device cuda --dump-info --work-dir benchmark/openvino_detection_tmp_model
- create network
InferenceEngine::Core core_ = InferenceEngine::Core();
InferenceEngine::CNNNetwork network_ = core_.ReadNetwork(tmp_xml, tmp_bin);
error is :
[2022-04-14 15:48:32.304] [mmdeploy] [error] [openvino_net.cpp:136] unhandled exception when creating OpenVINO: Check 'PartialShape::broadcast_merge_into(pshape, node->get_input_partial_shape(i), autob)' failed at C:\j\workspace\private-ci\ie\build-windows-vs2019@3\b\repos\openvino\src\core\src\op\util\elementwise_args.cpp:30:
While validating node 'v1::Divide Divide_610 (Convert_3027[0]:f32{2}, Convert_3026[0]:f32{4}) -> ()' with friendly_name 'Divide_610':
Argument shapes are inconsistent.
[2022-04-14 15:48:32.313] [mmdeploy] [error] [openvino_net.cpp:265] error creating OpenVINONet: unknown (6) @ :0
[2022-04-14 15:48:32.314] [mmdeploy] [error] [detector.cpp:58] exception caught: unknown (6) @ :0
failed to create detector, code: 6
- you can download my onnx and converted openvino model from here:
https://1drv.ms/u/s!Aqis6w3rjKXSh150FQr5Yu76TpqL?e=eSASXB
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels