11# YOLOX-ROS
22
3- [ YOLOX] ( https://github.com/Megvii-BaseDetection/YOLOX ) + ROS2 Foxy (cuda 10.2)
3+ + [ YOLOX 0.1.0 ] ( https://github.com/Megvii-BaseDetection/YOLOX/releases/tag/0.1.0 ) + ROS2 Foxy (cuda 10.2)
44
55__ NVIDIA Graphics is required ❗❗❗__
66
@@ -20,36 +20,37 @@ Japanese Reference (Plan to post):[Qiita](https://qiita.com/Ar-Ray)
2020| OpenVINO | | | | ✅ |
2121| Others(?) | | | | |
2222
23- ## Requirements (Python)
23+ ## Requirements (Python+CUDA )
2424
2525- ROS2 Foxy
2626- CUDA 10.2
2727- OpenCV 4.5.1
2828- Python 3.8 (Ubuntu 20.04 Default)
29+ - pycupa:1.9.73
2930- Torch '1.9.0+cu102 (Install with pytorch)
3031- cuDNN 7.6.5 (Install with pytorch)
31- - [ YOLOX] ( https://github.com/Megvii-BaseDetection/YOLOX )
32+ - [ YOLOX 0.1.0 version ] ( https://github.com/Megvii-BaseDetection/YOLOX/releases/tag/0.1.0 )
3233- TensorRT : is not supported
3334- WebCamera : v4l2_camera
3435
35- ## Requirements (C++ )
36+ ## Requirements (CPP+CDUA )
3637
3738- C++ is not supported
3839
3940## Installation
4041
4142Install the dependent packages based on all tutorials.
4243
43- ### STEP 1 : CUDA Installation
44+ ### STEP 1 : CUDA Installation ?
4445
4546- [ CUDA-10.2-toolkit] ( https://developer.nvidia.com/cuda-10.2-download-archive )
4647
4748### STEP 2 : YOLOX Quick-start
4849
4950[ YOLOX Quick-start (Python)] ( https://github.com/Megvii-BaseDetection/YOLOX#quick-start )
5051
51- ```
52- git clone https://github.com/Megvii-BaseDetection/YOLOX.git
52+ ``` bash
53+ git clone https://github.com/Megvii-BaseDetection/YOLOX -b 0.1.0
5354cd YOLOX
5455pip3 install -U pip && pip3 install -r requirements.txt
5556pip3 install -v -e . # or python3 setup.py develop
@@ -73,9 +74,9 @@ Connect your web camera.
7374``` bash
7475source ~ /ros2_ws/install/setup.bash
7576# Example 1 : YOLOX-s demo
76- ros2 launch yolox_ros_py demo_yolox_s .launch.py
77+ ros2 launch yolox_ros_py yolox_s .launch.py
7778# Example 2 : YOLOX-l demo
78- ros2 launch yolox_ros_py demo_yolox_l .launch.py
79+ ros2 launch yolox_ros_py yolox_l .launch.py
7980```
8081
8182
@@ -105,7 +106,7 @@ ros2 launch yolox_ros_py demo_yolox_l.launch.py
105106- fuse : False
106107- trt : False
107108- rank : 0
108- - ckpt_file : ` /home/ubuntu/ros2_ws/src/yolox_ros/ weights/yolox_s.pth.tar `
109+ - ckpt_file : ` ../../ weights/yolox_s.pth`
109110- conf : 0.3
110111- nmsthre : 0.65
111112- img_size : 640
0 commit comments