Skip to content

Commit ce995ff

Browse files
committed
update OpenVINO-Readme
1 parent 55a2b13 commit ce995ff

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

weights/openvino/example_openvino.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22

33
- yolox_nano.bin
44
- yolox_nano.mapping
5-
- yolox_nano.onnx
65
- yolox_nano.xml
76

87
## How to create and Install OpenVINO's weights
98

10-
> Note : Setup Open VINO before run these commands.
9+
> Note : Setup Open VINO 2021 before run these commands.
1110
1211
```bash
12+
export MODEL="yolox_tiny"
13+
export MO=/opt/intel/openvino_2021/deployment_tools/model_optimizer/mo.py
14+
1315
rm -rf ~/openvino_download
1416
mkdir ~/openvino_download
1517
cd ~/openvino_download
16-
wget https://github.com/Megvii-BaseDetection/YOLOX/releases/download/0.1.1rc0/yolox_nano.onnx
17-
export MO=/opt/intel/openvino_2021/deployment_tools/model_optimizer/mo.py
18-
python3 $MO --input_model ./yolox_nano.onnx --input_shape [1,3,640,640] --data_type FP16 --output_dir ./
18+
wget https://github.com/Megvii-BaseDetection/YOLOX/releases/download/0.1.1rc0/$MODEL.onnx
19+
python3 $MO --input_model ./yolox_nano.onnx --input_shape [1,3,416,416] --data_type FP16 --output_dir ./
1920
cp -r ./* ~/ros2_ws/src/YOLOX-ROS/weights/openvino/
2021
cd ~/ros2_ws/
2122
colcon build --symlink-install

0 commit comments

Comments
 (0)