yolov5-onnxruntime

link

code in git

build the project and mind your onnxruntim path

mkdir build
cd build
cmake .. -DONNXRUNTIME_DIR=/home/oem/Downloads/yolov5-onnxruntime-master/onnxruntime-linux-x64-1.7.0 -DCMAKE_BUILD_TYPE=Release
make
./yolo_ort --model_path  ../models/yolov5s.onnx --image ../images/bus.jpg --class_names ../models/coco.names --gpu

在这里插入图片描述

posted @ 2022-08-19 22:45  luoganttcc  阅读(39)  评论(0)    收藏  举报