HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
19.46k stars 2.42k forks source link

XML tags smart and smartOnly have no effect #4580

Open agvdndor opened 1 year ago

agvdndor commented 1 year ago

Describe the bug I have set up a labelstudio-ml-backend for interactive pre-annotations. The labeling interface has three types of labels (see XML code below) of which two have the tag smartOnly="True" as explained here .

However as you can see in the screen shot below I'm still able to select the non-smart keypoint option in the menu on the right while having the "smart keypoint 1" label selected. Vice versa, I can also select the smart keypoint option in that menu while having the non-smart "keypoint labe"l selected (even though smart=True is not set for the non-smart keypoint in the XML config.) image

To Reproduce

Expected behavior What I expect is that

Environment (please complete the following information):

RobinFrcd commented 1 year ago

I have the same problem with RectangleLabels, it doesn't even select the smart tool by default, I have to click M for all my annotations. (v1.8.1)