Closed Glaadiss closed 1 year ago
Please check this comment: https://github.com/heartexlabs/label-studio-converter/pull/82#issuecomment-1025969634 + this issue https://github.com/heartexlabs/label-studio-converter/issues/81
You should apply this one https://github.com/heartexlabs/label-studio-converter/blob/master/label_studio_converter/converter.py#L305 to your annotations and then send the output to brush converter.
https://github.com/heartexlabs/label-studio-converter/blob/bdfe8a04680135c1b22bf56d7f2bc792c7b4e079/label_studio_converter/brush.py#L112
Hi, I've been running this code recently and there's different structure for
result
dict.When I checked the structure of the result in exported json for segmentation task it looks like this:
Thus in the code above we should reference
result["value"]["rle"]
instead ofresult["rle"]