Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Sri Om Subham b6714c2c7c | 1 year ago | |
---|---|---|
.. | ||
yolov5 | 1 year ago | |
yolov6 | 1 year ago | |
yolox | 1 year ago | |
README.md | 1 year ago | |
coco.names | 1 year ago | |
sample.jpg | 1 year ago | |
yolo.py | 1 year ago | |
yolox.py | 1 year ago |
OpenCV >= 4.5.4
Only OpenCV >= 4.5.4 can read onnx model file by dnn module.
Change work directory to /path/to/YOLOv6/deploy/ONNX/OpenCV
python yolo.py --model /path/to/onnx/yolov5n.onnx --img /path/to/sample.jpg --classesFile /path/to/coco.names
yolov5s.onnx
yolov5m.onnx
yolov6n.onnx
yolov6s.onnx
yolov6t.onnx
python yolox.py --model /path/to/onnx/yolox_nano.onnx --img /path/to/sample.jpg --classesFile /path/to/coco.names
yolox_tiny.onnx
yolox_s.onnx
yolox_m.onnx
cd yolov5 // modify CMakeLists.txt
mkdir build
cd build
cmake ..
make
./yolov5 /path/to/onnx/yolov5n.onnx /path/to/sample.jpg /path/to/coco.names
yolov5s.onnx
yolov5m.onnx
cd yolov6 // modify CMakeLists.txt
mkdir build
cd build
cmake ..
make
./yolov6 /path/to/onnx/yolov6n.onnx /path/to/sample.jpg /path/to/coco.names
yolov6t.onnx
yolov6s.onnx
cd yolox // modify CMakeLists.txt
mkdir build
cd build
cmake ..
make
./yolox /path/to/onnx/yolox_nano.onnx /path/to/sample.jpg /path/to/coco.names
yolox_tiny.onnx
yolox_s.onnx
yolox_m.onnx
Model | Speed CPU b1(ms) Python | Speed CPU b1(ms) C++ | mAPval 0.5:0.95 | params(M) | FLOPs(G) |
---|---|---|---|---|---|
YOLOv5n | 116.47 | 118.89 | 28.0 | 1.9 | 4.5 |
YOLOv5s | 200.53 | 202.22 | 37.4 | 7.2 | 16.5 |
YOLOv5m | 294.98 | 291.86 | 45.4 | 21.2 | 49.0 |
YOLOv6-n | 66.88 | 69.96 | 35.0 | 4.3 | 4.7 |
YOLOv6-tiny | 133.15 | 137.59 | 41.3 | 15.0 | 36.7 |
YOLOv6-s | 164.44 | 163.38 | 43.1 | 17.2 | 44.2 |
YOLOX-Nano | 81.06 | 86.75 | 25.8@416 | 0.91 | 1.08@416 |
YOLOX-tiny | 129.72 | 144.19 | 32.8@416 | 5.06 | 6.45@416 |
YOLOX-s | 180.86 | 169.96 | 40.5 | 9.0 | 26.8 |
YOLOX-m | 336.34 | 357.91 | 47.2 | 25.3 | 73.8 |
Note:
No Description
Jupyter Notebook Python C++ other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》