Skip to content
New issue

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

Allow users to set class name-ID mapping during export #9

Open
jveitchmichaelis opened this issue Mar 25, 2020 · 0 comments
Open

Allow users to set class name-ID mapping during export #9

jveitchmichaelis opened this issue Mar 25, 2020 · 0 comments

Comments

@jveitchmichaelis
Copy link
Owner

jveitchmichaelis commented Mar 25, 2020

This affects the COCO and Pascal VOC exporters. Currently the output class ID is dependent on the order in which they were created in deeplabel. It may be preferable to, in some cases, force this to something else, for example provide a pbtxt file like https://github.com/tensorflow/models/blob/master/research/object_detection/data/mscoco_label_map.pbtxt

The darknet exporter does not have this problem as it uses a .names file to control this. GCP is also not affected as it uses class names directly.

Should probably allow minimally:

  • .names files, class name separated by newline
  • .pbtxt files

and infer based on extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant