We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COCO expect that class ID starts from 1 as below,
voc2coco/voc2coco.py
Line 14 in 207f265
However, It came to the notice that class ID starts from 0 in output.json.
To fix this issue, change the following line
Line 66 in 207f265
return {name: i+1 for i, name in enumerate(classes_names)}
The text was updated successfully, but these errors were encountered:
Bug fix: category start index to 1. ref Tony607#9
e9f6cb3
2d20ab9
No branches or pull requests
COCO expect that class ID starts from 1 as below,
voc2coco/voc2coco.py
Line 14 in 207f265
However, It came to the notice that class ID starts from 0 in output.json.
To fix this issue, change the following line
voc2coco/voc2coco.py
Line 66 in 207f265
to
return {name: i+1 for i, name in enumerate(classes_names)}
The text was updated successfully, but these errors were encountered: