Open beizhengren opened 4 years ago
File /results/coco_results.json
will be created for MS COCO dataset only.
not for Pascal VOC cfg/my-voc.data
and not for your custom dataset.
Use all default files without your changes and strictly follow this manual https://github.com/AlexeyAB/darknet/wiki#training-and-evaluation-of-speed-and-accuracy-on-ms-coco
@AlexeyAB I till try it. Thanks!
@AlexeyAB I validate with coco val set, but "image_id" are 0, in file /results/coco_results.json
{"image_id":0, "category_id":81, "bbox":[0.000000, 49.523914, 18.663914, 63.693478], "score":0.002123}, {"image_id":0, "category_id":89, "bbox":[0.000000, 49.523914, 18.663914, 63.693478], "score":0.001642}, {"image_id":0, "category_id":44, "bbox":[474.524872, 292.643555, 15.269592, 15.517822], "score":0.001430}, {"image_id":0, "category_id":48, "bbox":[474.524872, 292.643555, 15.269592, 15.517822], "score":0.002594}, {"image_id":0, "category_id":49, "bbox":[474.524872, 292.643555, 15.269592, 15.517822], "score":0.003841},
Did you download http://images.cocodataset.org/zips/val2017.zip ?
I know what is the problem. in val2014, image's name is COCO_val2014_XXX.jpg, but name of val2017 is XXX.jpg
@AlexeyAB I till try it. Thanks!
sorry, did you solve your problem?
Hi @AlexeyAB , when I validate with my test set,
after run above, I got some text file in
results
folder, but without contents in them. And, I have not got the json file, as