Incorrect COCO detection labels in labels.tgz
tungngreen opened this issue · comments
Tung Nguyen commented
I'm using the get_coco_dataset.sh
script to download the labels for COCO object detection and it downloads labels.tgz
from Redmon's personal file server. After some digging around, it seems to me that many of the txt label file contains incorrect bbox labels.
For instance, this is how the image train2014/COCO_train2014_000000000009.jpg
looks like.
0009
But its bbox labels in file COCO_train2014_000000000009.txt
are
45 0.479492 0.688771 0.955609 0.595500
45 0.736516 0.247188 0.498875 0.476417
50 0.637063 0.732938 0.494125 0.510583
45 0.339438 0.418896 0.678875 0.781500
49 0.646836 0.132552 0.118047 0.096937
49 0.773148 0.129802 0.090734 0.097229
49 0.668297 0.226906 0.131281 0.146896
49 0.642859 0.079219 0.148063 0.148062
which are clearly incorrect.
darknet/scripts/get_coco_dataset.sh
Line 25 in f6afaab
Tung Nguyen commented
My bad. Forgot there are only 80 classes for detection, not the whole 91.