pjreddie / darknet

Convolutional Neural Networks

Home Page:http://pjreddie.com/darknet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect COCO detection labels in labels.tgz

tungngreen opened this issue · comments

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.

tar xzf labels.tgz

My bad. Forgot there are only 80 classes for detection, not the whole 91.