Closed aimhabo closed 5 years ago
What is 4path : .....139.jpg
in your 2nd image ?
Is there only 1 image in testimage.list ? Did you try to put more image in this list ?
@aimhabo Hi,
Show content of the files bad.list
and bad_label.list
Either just copy all labels from val2017-labels
to val2017-images
or try to add replacing-function for MS COCO 2017 there: https://github.com/AlexeyAB/darknet/blob/f37ea75b28f01a87f08cb3cdea2f3d58f72224f8/src/utils.c#L229-L236
@MartyEz there are over thousands images in both valid and test. 4 is 'print' at the top of the 'for i' ,and path 'fprintf' before 'char *id'
@AlexeyAB yes, I have changed label-loading rule. there are no other bugs when calculating map on yolov3-tiny but break down at the last of calculating show. But... it break down on the way to calculating spp. bad.list and bad_label.list are empty.(I have removed corresponding elements after transfered coco label)
@aimhabo So currently, do you have errors only with yolov3-spp.cfg model? But does it work successfully with yolov3-tiny.cfg model?
@AlexeyAB yes. maybe values are problem, but anyway the calculating process is done.
@aimhabo You can try to comment some of these lines, to find where is a problem: https://github.com/AlexeyAB/darknet/blob/f37ea75b28f01a87f08cb3cdea2f3d58f72224f8/src/detector.c#L999-L1019
Since I can't reproduce it.
@AlexeyAB I have failed to download mscoco2014 many times before. I can try again tomorrow. thankyou
@aimhabo Did you use script from my repo https://github.com/AlexeyAB/darknet/blob/master/scripts/get_coco_dataset.sh#L12-L15 instead of pjreddie's repo?
I changed links to cocodataset.org site for faster downloading.
@AlexeyAB The problem was passed after the two lines were commented.
https://github.com/AlexeyAB/darknet/blob/f37ea75b28f01a87f08cb3cdea2f3d58f72224f8/src/detector.c#L887
https://github.com/AlexeyAB/darknet/blob/f37ea75b28f01a87f08cb3cdea2f3d58f72224f8/src/detector.c#L1004
yolov3spp seems good on val2014
my command is
/home/wit/wjx/AlexeyAB/darknet/darknet detector map parameters.data yolov3-tiny.cfg yolov3-tiny.weights
weights is downloaded from https://pjreddie.com/media/files/yolov3-tiny.weightsIt also happen while
/home/wit/wjx/AlexeyAB/darknet/darknet detector map parameters.data yolov3spp.cfg yolov3-spp.weights
and I found that 'id' https://github.com/AlexeyAB/darknet/blob/f37ea75b28f01a87f08cb3cdea2f3d58f72224f8/src/detector.c#L766 was changed unreasonable before https://github.com/AlexeyAB/darknet/blob/f37ea75b28f01a87f08cb3cdea2f3d58f72224f8/src/detector.c#L887 . So the program break down at that line this time. but I still cannot solve this bug.here's my parameters.data, and other files were acquired by git just half an hour ago.
No abnormalities were found in 139 image and label.