You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @dnth Diskson, thank you for reporting the issue. You are right, they should be ints. (I am not sure if this issue has always been there or not, but no one else has mentioned it.)
And per our chat, thank you offering to work on the PR yourself to fix the issue. Here are a few tips to help you:
There is a spec for the coco schema here https://cocodataset.org/#format-data (I didn't have this when I first started this project.) There may be issues with some of the other fields so if you are able to fix any other similar issues that would be great
That coco exporter code is one of the parts that I didn't write originally so I am not sure why it is written the way it is. As I recall there is some repeated code and you may have to apply the fix in multiple places.
Thanks again! Let me know if you have any questions.
I exported my VOC labels into COCO and find that the
id
andcategory_id
values in the .json file are inconsistent.In the .jsons file we have
"id": 0
But in the annotations I find
"category_id": "0"
I had to manualy change the
"category_id": "0"
to"category_id": 0
use the annotations and train a model. Is this a bug?The text was updated successfully, but these errors were encountered: