YOLOV7復(fù)現(xiàn)簡單筆記
YOLOV7:GitHub - WongKinYiu/yolov7: Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
conda創(chuàng)建環(huán)境
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


效果還行:)