Reputation: 25
When I was using YOLOV5 training, run "python train.py --img 640 --batch 8 --epochs 30 --data='C:\Users\juwei\Desktop\yolov5-master\data\ road.yaml' --cfg='C:\Users\juwei\Desktop\yolov5-master\models\yolov5s.yaml' --device 0" in Terminal, an error occurred.
Upvotes: 0
Views: 10426
Reputation: 56
I had the exact same problem on windows.But the same command to train the model worked fine on google colab. For windows what I tried was to remove all single quotes and it worked fine for me. So your command should become as "python train.py --img 640 --batch 8 --epochs 30 --data=C:\Users\juwei\Desktop\yolov5-master\data\ road.yaml --cfg=C:\Users\juwei\Desktop\yolov5-master\models\yolov5s.yaml --device 0"
Upvotes: 4