Skip to content

Commit 6763934

Browse files
committed
fix readme
1 parent 4d1b76d commit 6763934

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,15 @@ pip3 install yolox
5858
```bash
5959
source /opt/ros/foxy/setup.bash
6060
sudo apt install ros-foxy-v4l2-camera
61+
# source /opt/intel/openvino_2021/bin/setupvars.sh # <- Using OpenVINO
6162
colcon build --symlink-install # weights (YOLOX-Nano) files will be installed automatically.
6263
```
6364

65+
**Automatic download weights**
66+
67+
- yolox_nano.onnx
68+
- yolox_nano.pth
69+
6470
### (Step 3) Using CUDA
6571

6672
If you have NVIDIA Graphics, you can run YOLOX-ROS on GPU.
@@ -71,20 +77,26 @@ If you have NVIDIA Graphics, you can run YOLOX-ROS on GPU.
7177
- CUDA toolkit (11.0)
7278
- torch+cuda
7379

80+
```bash
81+
source /opt/ros/foxy/setup.bash
82+
sudo apt install ros-foxy-v4l2-camera
83+
colcon build --symlink-install # weights (YOLOX-Nano) files will be installed automatically.
84+
```
85+
7486
### Step : Demo
7587

7688
Connect your web camera.
7789

7890
```bash
7991
source /opt/ros/foxy/setup.bash
8092
source ~/ros2_ws/install/local_setup.bash
81-
ros2 launch yolox_ros_py yolox_nano_cpu.launch.py
82-
# ros2 launch yolox_ros_py yolox_nano.launch.py # <- GPU
93+
ros2 launch yolox_ros_py yolox_nano_cpu.launch.py # <- CPU (PyTorch)
94+
# ros2 launch yolox_ros_py yolox_nano.launch.py # <- GPU (PyTorch)
8395
# ros2 launch yolox_ros_py yolox_nano_onnx.launch.py # <- ONNXRuntime
8496

85-
# OpenVINO ---
97+
# OpenVINO -------------------------------------
8698
# source /opt/intel/openvino_2021/bin/setupvars.sh
87-
# ros2 launch yolox_ros_py yolox_nano_openvino.launch.py # <- OpenVINO
99+
# ros2 launch yolox_ros_py yolox_nano_openvino.launch.py
88100
```
89101

90102
</details>

0 commit comments

Comments
 (0)