diff --git a/configs/mmdet/_base_/base_openvino_dynamic-300x300.py b/configs/mmdet/_base_/base_openvino_dynamic-300x300.py new file mode 100644 index 000000000..ae1116df9 --- /dev/null +++ b/configs/mmdet/_base_/base_openvino_dynamic-300x300.py @@ -0,0 +1,6 @@ +_base_ = ['./base_dynamic.py', '../../_base_/backends/openvino.py'] + +onnx_config = dict(input_shape=None) + +backend_config = dict( + model_inputs=[dict(opt_shapes=dict(input=[1, 3, 300, 300]))]) diff --git a/configs/mmdet/detection/detection_openvino_dynamic-300x300.py b/configs/mmdet/detection/detection_openvino_dynamic-300x300.py new file mode 100644 index 000000000..1df7d1211 --- /dev/null +++ b/configs/mmdet/detection/detection_openvino_dynamic-300x300.py @@ -0,0 +1 @@ +_base_ = ['../_base_/base_openvino_dynamic.py'] diff --git a/docs/en/backends/openvino.md b/docs/en/backends/openvino.md index d043c578a..12a6686d3 100644 --- a/docs/en/backends/openvino.md +++ b/docs/en/backends/openvino.md @@ -27,7 +27,7 @@ sudo apt-get install libpython3.7 Example: ```bash python tools/deploy.py \ - configs/mmdet/detection/detection_openvino_dynamic.py \ + configs/mmdet/detection/detection_openvino_static-300x300.py \ /mmdetection_dir/mmdetection/configs/ssd/ssd300_coco.py \ /tmp/snapshots/ssd300_coco_20210803_015428-d231a06e.pth \ tests/data/tiger.jpeg \