pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.64k stars 21.33k forks source link

Cant open train.txt file #1751

Open Shruthi-Sampathkumar opened 5 years ago

Shruthi-Sampathkumar commented 5 years ago

Hi. I am using colab to train darknet yolov3. I followed the instructions for training yolov3 on a subset of VOC dataset. When I run the darket detector train command, it is not able to open the train.txt file as the path to the train.txt file contains white spaces. How can I solve this?

The error is " Couldn't open file: /content/drive/Shareddrives/darknet/train.txt " and the voc.data contains the path to train as " /content/drive/Shared\ drives/darknet/train.txt "

I tried replacing spaces in the path with '\ ' , but it is still throwing the same error.

Thanks in advance for your help.

KellyChenTue commented 5 years ago

Maybe you could try to write the full path in .data file?