欢迎光临散文网 会员登陆 & 注册

YOLOV7复现简单笔记

2023-03-23 15:02 作者:七日隐士  | 我要投稿

YOLOV7:GitHub - WongKinYiu/yolov7: Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors

conda创建环境

python3.7.13

安装CV2:conda install --channel https://conda.anaconda.org/menpo opencv

安装torch【1.10.0+cu102】pip install torch==1.10.0+cu102 torchvision==0.11.0+cu102 torchaudio==0.10.0 -f https://download.pytorch.org/whl/torch_stable.html

安装各种库:

conda install pandas

pip install requests

pip install tqdm

pip install pyaml

pip install matplotlib

pip install seaborn

pip install scipy

运行:python detect.py --weights yolov7.pt --conf 0.25 --img-size 640 --source v_Basketball_g01_c01.avi

detect.py运行成功
avi视频效果

效果还行:)

YOLOV7复现简单笔记的评论 (共 条)

分享到微博请遵守国家法律