AlexeyAB / Yolo_mark

GUI for marking bounded boxes of objects in images for training neural network Yolo v3 and v2
https://github.com/AlexeyAB/darknet
The Unlicense
1.8k stars 680 forks source link

basic_string::substr: __pos (which is 140) > this->size() (which is 0) #152

Open xrv0 opened 5 years ago

xrv0 commented 5 years ago

I get the following error "basic_string::substr: __pos (which is 140) > this->size() (which is 0)" when running the tool. I have around 20k labeled images

xrv0 commented 5 years ago

This is also the case when trying to train a model using this dataset Bildschirmfoto vom 2019-07-28 19-15-37

xrv0 commented 5 years ago

I get the following error "basic_string::substr: __pos (which is 140) > this->size() (which is 0)" when running the tool. I have around 20k labeled images

Bildschirmfoto vom 2019-07-28 19-18-27

vennelakanti1997 commented 4 years ago

I am facing the same issue. Have you resolved the error and if so can you share me how to resolve the error. Thank you in advance

YCmove commented 4 years ago

I had the same issue with yolov3, anyone solve this ?

xrv0 commented 4 years ago

I had the same issue with yolov3, anyone solve this ?

I‘m not sure if I remember correctly but I think it was caused by wrong formatting of the train.txt on my part.

sainisatish commented 3 years ago

error Please help me to solve this error.

sainisatish commented 3 years ago

error Please help me to solve this error.

Oh it was my silly mistake , I have wrongly placed obj.names file in darknet/cfg folder instead of darknet/data folder.