1. 克隆 yolov7
git clone https://github.com/WongKinYiu/yolov7
2. 安装 环境
cd yolov7
pip install -r requirements.txt
3. 下载 权重
mkdir weights
cd weights
wget https://github.com/WongKinYiu/yolov7/releases/download/v0.1/
例:
yolov7.pt
yolov7x.pt
yolov7-w6.pt
yolov7-e6.pt
yolov7-d6.pt
yolov7-e6e.pt
4. 测试
python detect.py --weights weights/yolov7.pt --source inference/images
--weights 下载的权重文件
--source 测试的图片
yolov7测试
最新推荐文章于 2024-06-25 18:24:36 发布