0

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

jiki
  • 25
  • 1
  • 9

1 Answers1

4

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"

  • are you able to make this work with detect.py on the url that you find in https://www.wowza.com/developer/rtsp-stream-test **Which is Direct RTSP URL:** rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4 – gianni Sep 04 '22 at 20:41