在jetson nano 上部署 yolov5

1

git clone https://github.com/wang-xinyu/tensorrtx/tree/yolov5-v4.0/yolov5

2

git clone https://github.com/wang-xinyu/tensorrtx/tree/yolov5-v4.0/yolov5

3

cp tensorrtx/yolov5/gen_wts.py into ultralytics/yolov5

4

cd yolov5
wget https://github.com/ultralytics/yolov5/releases/download/v4.0/yolov5s.pt

5

python gen_wts.py
tensorrtx-yolov5-v4.0/yolov5
cd 
mkdir build
cd build
cmake ..
make 
sudo ./yolov5 -s yolov5s.wts yolov5s.engine s
python  yolo.py

你可能感兴趣的:(机器视觉,python,深度学习,开发语言)