-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
How to group all level-2 label, without adding a value for each level-1 label ? #7011
Comments
Hello, Thank you for contacting Label Studio, Label Studio doesn’t currently provide a straightforward way to merge all sub-labels into a single field when using separate 1) Use the
2) Nest All Labels Under One
Which Should You Pick?
|
Hello, I am working with hierarchical multi-label classification, with many levels of labels. Here is my label config, assuming that the first level labels are A and B, while the second level labels are A1, A2 and B1, B2, B3.
And this is an output example with correct labels as A2, B3
As seen, it includes the second level labels in two different fields named
A_subtheme
andB_subtheme
. My question is if it is possible to configure to merge all the sub-label into a same field, and its value may be either[A2, B3]
or a dict{A: A2, B: B3}
of some sorts. This will make the process more systematic, instead of having to create a new name for every first-level labels.If I give them the same name, say
subtheme
, an error is raised:Label config contains non-unique names
If you have any answers, please let me know. Thank you very much.
The text was updated successfully, but these errors were encountered: