voc2coco icon indicating copy to clipboard operation
voc2coco copied to clipboard

Sorts the categories when appending them to the annotation

Open nisseb opened this issue 4 years ago • 0 comments

Got into some trouble using this code for converting annotations. Since regular python dicts are not sorted, and this code basically scrambles the "categories" list in the annotation, any annotation parser which attempt to access the categories by index instead of comparing the "id" value will map incorrectly.

nisseb avatar Mar 11 '20 13:03 nisseb