jiki
jiki

Reputation: 25

AssertionError: File Not Found YOLOv5

enter image description hereWhen 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. enter image description here

Upvotes: 0

Views: 10426

Answers (1)

Nikhil Jadhav
Nikhil Jadhav

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

Related Questions