Skip to content
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

Taxonomy choices not pre-populated with predictions #970

Closed
irogers opened this issue May 25, 2021 · 1 comment
Closed

Taxonomy choices not pre-populated with predictions #970

irogers opened this issue May 25, 2021 · 1 comment
Assignees
Labels
problem bug or something isn't working

Comments

@irogers
Copy link

irogers commented May 25, 2021

Describe the bug
Taxonomy choices are not pre-populated in labeling view when predictions are present.

To Reproduce

  1. Create new project
  2. Import data
[
  {
    "data": {
      "text": "You never believe what he did to the country"
    }
  },
  {
    "data": {
      "text": "You never believe what he did to the country"
    },
    "predictions": [
      {
        "result": [
          {
            "value": {
              "taxonomy": [
                [
                  "Online",
                  "Free"
                ],
                [
                  "Offline"
                ]
              ]
            },
            "from_name": "media",
            "to_name": "text",
            "type": "taxonomy"
          }
        ],
        "score": 0.95
      }
    ]
  }
]
  1. Set config
<View>
  <Text name="text" value="$text"/>
  <Taxonomy name="media" toName="text">
    <Choice value="Online">
      <Choice value="UGC"/>
      <Choice value="Free"/>
      <Choice value="Paywall">
        <Choice value="NYC Times"/>
        <Choice value="The Wall Street Journal"/>
      </Choice>
    </Choice>
    <Choice value="Offline"/>
  </Taxonomy>
</View>
  1. Navigate to project and the click "Label All Tasks:

Expected behavior

  1. New annotation is pre-populated with prediction
  2. Prediciton panel is shown (I toggled this in the Layout tab)

Screenshots
image

Environment (please complete the following information):

  • OS: Ubuntu LTS 20.04
  • Label Studio Version 1.0.2
@hlomzik hlomzik self-assigned this May 27, 2021
@niklub niklub added the problem bug or something isn't working label May 28, 2021
@smoreface
Copy link
Contributor

Fixed with version 1.3.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem bug or something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants