Hi, guys. I have problem while training yolov3-tiny.It gives me an error like this:
Loading weights from yolov3-tiny.conv.15...Done!
Learning Rate: 0.001, Momentum: 0.9, Decay: 0.0005
Resizing
480
Couldn't open file: custom_data/labels/95.txt
//////////////////////////////////////////////////////////////////////////////////////////
My project structure:
darknet->custom_data->images, custom.names, detector.data, test.txt, train.txt
and train.txt:
custom_data/images/0.jpg
custom_data/images/1.jpg
custom_data/images/2.jpg
custom_data/images/3.jpg
custom_data/images/4.jpg
custom_data/images/5.jpg
custom_data/images/6.jpg
custom_data/images/7.jpg
custom_data/images/8.jpg
custom_data/images/9.jpg
and so on......
////////////////////////////////////////////////////////////
Can it be because of images? Some of them was in jpeg extension and i converted them to jpg?
Or just because of dataset which i am using, because some of images are mine, and some from serbian license plates dataset, so it gives me an error only on dataset images.If it is really all about dataset images what's wrong with them?
In custom data folder create two folders.
one for images having only .jpg files, name it as images.
Keep the .txt files ie, labels in a separate folder and name it 'labels'
This will solve the issue .
Hi, guys. I have problem while training yolov3-tiny.It gives me an error like this: Loading weights from yolov3-tiny.conv.15...Done! Learning Rate: 0.001, Momentum: 0.9, Decay: 0.0005 Resizing 480 Couldn't open file: custom_data/labels/95.txt ////////////////////////////////////////////////////////////////////////////////////////// My project structure: darknet->custom_data->images, custom.names, detector.data, test.txt, train.txt
detector.data: classes=2 valid=/home/azazen/Documents/darknet-master/custom_data/test.txt names=/home/azazen/Documents/darknet-master/custom_data/custom.names backup=/home/azazen/Documents/darknet-master/custom_data/backup/ train=/home/azazen/Documents/darknet-master/custom_data/train.txt
and train.txt: custom_data/images/0.jpg custom_data/images/1.jpg custom_data/images/2.jpg custom_data/images/3.jpg custom_data/images/4.jpg custom_data/images/5.jpg custom_data/images/6.jpg custom_data/images/7.jpg custom_data/images/8.jpg custom_data/images/9.jpg and so on...... //////////////////////////////////////////////////////////// Can it be because of images? Some of them was in jpeg extension and i converted them to jpg? Or just because of dataset which i am using, because some of images are mine, and some from serbian license plates dataset, so it gives me an error only on dataset images.If it is really all about dataset images what's wrong with them?