cd/d E:\Web\yolo\yolov5Master
conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia
python train.py --data hat.yaml --weights yolov5s.pt --cfg models/yolov5s_hat.yaml --epochs 20
python train.py --img 640 --batch 1 --epochs 3 --data coco128.yaml --weights yolov5s.pt
python train.py --img 640 --batch 1 --epochs 2 --data hat.yaml --cfg models/yolov5s_hat.yaml --weights yolov5s.pt --device cpu
cd/d D:\webDeme\yolo\demo\yolov5-master
python train.py --img 640 --batch 16 --epochs 3 --data coco128.yaml --weights yolov5s.pt
python detect.py --weights runs/train/exp4/weights/best.pt --img 640 --conf 0.25 --source VOCdevkit/images/1.png
python -m pip install --upgrade pip
pip install PyYAML
conda install tqdm
conda install opencv
conda install pandas
No module named 'IPython'
conda install ipython
conda install psutil
No module named 'matplotlib'
conda install matplotlib
No module named 'seaborn'
conda install seaborn
No module named 'tensorboard'
conda install tb-nightly
conda install tensorboard
*** WARNING: Ignore distutils configs in setup.cfg due to encoding errors.
https://blog.csdn.net/weixin_37989267/article/details/128326603