prepare_detection_dataset
prepare_detection_dataset copied to clipboard
About annotation id
Hi, I found that the annotation id starts with 0 in the csv2coco.py file: https://github.com/spytensor/prepare_detection_dataset/blob/4ae42f652fd5e0ef7a5eec29b3018a4ae9e601e2/csv2coco.py#L29
But for current official coco evaluation toolkit (https://github.com/cocodataset/cocoapi), it requires that the annotation id in ground truth file should start with 1, otherwise, it would cause wrong result. Check this: https://github.com/cocodataset/cocoapi/issues/507#issue-855713894
Maybe we should change this to be compatible with coco evaluation toolkit.