File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,15 @@ pip3 install yolox
5858``` bash
5959source /opt/ros/foxy/setup.bash
6060sudo apt install ros-foxy-v4l2-camera
61+ # source /opt/intel/openvino_2021/bin/setupvars.sh # <- Using OpenVINO
6162colcon 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
6672If 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
7688Connect your web camera.
7789
7890``` bash
7991source /opt/ros/foxy/setup.bash
8092source ~ /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 >
You can’t perform that action at this time.
0 commit comments