Open aminullah6264 opened 6 years ago
@Aminullah6264 Hi,
./darknet detector test ...
?Dear @AlexeyAB
when i run ./darknet detector test
it works for pretrained model but not working for example data training
@Aminullah6264 Try to use this release: https://github.com/AlexeyAB/darknet/releases It tested on both Windows and Linux for training and detection.
So if it doesn't work for your, then your problem in your environment / libraries (OpenCV, CUDA, cuDNN, ...)
@AlexeyAB hi!
Unfortunately, I have the same issue on Ubuntu 16. I will try to use earlier release as suggested. Here is the log:
Loading weights from yolo.weights... seen 32 Done! Learning Rate: 0.001, Momentum: 0.9, Decay: 0.0005 eval: Using default 'voc' 4 "annot load image "data/dog.jpg Segmentation fault (core dumped)
@AlexeyAB unfortunately, the earlier release does not work either. To be fair what I do now is a bit different from the topic's problem but I decided to put a note in this thread as I guess issues are still similar. My task is to get a list of coordinates for images in folder using valid command on pretrained coco weights.
I googled issue and I thought it is due to not having proper rights on AWS server but changing them did not help. And I am not sure this is the case also cause test does work and save predictions. I tried changing images names in the .txt file in many ways but YOLO still cannot load them:
Update: predictions are empty in the results folder when running test.
Loading weights from yolo.weights... seen 32 Done! Learning Rate: 0.001, Momentum: 0.9, Decay: 0.0005 eval: Using default 'voc' 4 "annot load image "data\dog.jpg Cannot load image "(null)" Cannot load image "data\eagle.jpg" sh: 1: Syntax error: word unexpected (expecting ")") Segmentation fault (core dumped)
i have prepare my data according to the instruction given in this link
https://pjreddie.com/darknet/yolo/
i have downloaded weights also. i have 12GB titanX gpu when i run the darknet for training it give this error. i use following line for training ./darknet detector train cfg/voc.data cfg/yolo-voc.cfg darknet19_448.conv.23
plz how to solve this problem or why it is comming