-
Notifications
You must be signed in to change notification settings - Fork 446
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
Add dumping of hierarchical config on export #2868
Conversation
This means that what I made for the |
I'm not sure if I'm understanding this correctly. |
In general yes, in OTX 1.x label schema could provide a parent label for each particular label, so I represented the hierarchical graph as a list of nodes (child label, parent label). To me it's not clear why we can't do the same thing in OTX 2.0, since we have the same datumaro dataset as an input. |
I've seen the PR, it works for "normal" datasets with > 1 classes (but auto-config for h-cls is still missing). I'll dm you to describe the particular case with sseg. Probably, we need a workaround |
In this PR(#2804), I added the information about the |
For instance, in this snipped, I see ['Rectangle', 'Object__Rigid Group'] pair. If this (child node, parent node) pair is correct, 'Object__Rigid Group' should be a tree node ~ a class -> it should be in label_to_idx dict -> I don't see this |
I think for better understanding, we can load this dataset with OTX 1.6, and see the data generated. I'd be the simplest way |
Got it, thanks. I'll modify. Please check this PR: #2883 |
Summary
This PR is blocked by two issues:
self.model.label_info = lit_module.meta_info
raises an error (the model is created with default number of classes at first, changing the number of classes is not implemented)How to test
Checklist
License
Feel free to contact the maintainers if that's a concern.