label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

valueList argument in the Image tag does not work

Open ShirokovSe opened this issue 1 year ago • 2 comments

Describe the bug When forming a Label Interface for a list of images, the value List argument is ignored. Image column data example: ['https://103school.ru/foto/telef112.png', 'https://catherineasquithgallery.com/uploads/posts/2021-03/1614587266_10-p-kartinka-telefon-na-belom-fone-10.jpg', ...]

To Reproduce Steps to reproduce the behavior:

  1. Go to Project Settings
  2. Click on Labeling Interface
  3. Click on Code
  4. Use Image tag with valueList argument, pass the values of the argument

Expected behavior Images reflect by the list

Environment (please complete the following information):

  • Label Studio Version 1.12.1

ShirokovSe avatar Jul 22 '24 13:07 ShirokovSe

/jira create

Workflow run Jira issue TRIAG-756 is created

jombooth avatar Jul 31 '24 22:07 jombooth

For anyone following along on my issue #6106, follow here as well.

bw4sz avatar Aug 20 '24 14:08 bw4sz

Please check this instructions: https://github.com/HumanSignal/label-studio/issues/6106#issuecomment-2362507754

You have to enable this feature flag:

fflag_feat_front_lsdv_4583_multi_image_segmentation_short=1 label-studio

and then use this labeling configuration:

<View>
  <Image name="image" valueList="$images" />

  <RectangleLabels name="labels" toName="image">
    <Label value="Cat" />
    <Label value="Dog" />
  </RectangleLabels>
</View>

<!-- {
  "images": [
    "https://data.heartex.net/open-images/train_0/mini/00607c8121301d54.jpg", 
    "https://data.heartex.net/open-images/train_0/mini/00a21fb1ed2af5e6.jpg"
  ]
} -->

makseq avatar Sep 20 '24 01:09 makseq