一、YOLOV5官方发布版本
GitHub - ultralytics/yolov5: YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
二、安装python环境库
1、新建虚拟环境
conda create -n yolov5 python=3.8
2、定位到代码目录下安装环境库
设置镜像加速
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
cd yolov5
pip install -r requirements.txt # install