赞
踩
source activate
conda create -n yolov5coco python=3.8
conda activate yolov5coco
pip install torch1.9.0+cu111 torchvision0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
git clone https://github.com/ultralytics/yolov5
cd yolov5
pip install -r requirements.txt
path: ../datasets/coco128 # dataset root dir
autodl默认…/是从root开始算,这样导致找不到已下载的数据集,改为
path: ../yolov5/datasets/coco128 # dataset root dir
python train.py
完成
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。