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

These labels still exist in annotations wrong label count bug #5410

Open
AjayVarmaK opened this issue Feb 1, 2024 · 1 comment
Open

These labels still exist in annotations wrong label count bug #5410

AjayVarmaK opened this issue Feb 1, 2024 · 1 comment
Labels
community:bug Triaged by the community team + confirmed to be bug. community:reviewed Issue has been reviewed by the Label Studio Community Team.

Comments

@AjayVarmaK
Copy link

Describe the bug
Wrong label count of drafts and annotation displayed when trying to change label name in label config.

To Reproduce
Steps to reproduce the behavior:

  1. Create a project and add 2 sample tasks and create an object detection project
  2. Create one label on one of the image and wait for draft to be saved
  3. Create 2 or 3 labels on the same image and wait for draft to be saved, don't submit the task
  4. Now delete all the labels one by one and let draft save
  5. Now go to labelling config and change the annotated label name, you will see 4 or 5 label count for the label in drafts ideally i should be able to change the name of label as there are no labels in the project

Expected behavior
Projects correct label count should be displayed when user tries to change the label in labelling config

Screenshots
(https://github.com/HumanSignal/label-studio/assets/63253704/418dd067-caf7-4035-b9b8-95909e07b03b)

Environment (please complete the following information):

  • ubuntu, chrome
  • Label Studio Version 1.11.0
@jombooth jombooth added community:bug Triaged by the community team + confirmed to be bug. community:reviewed Issue has been reviewed by the Label Studio Community Team. labels Feb 8, 2024
@jombooth
Copy link
Contributor

jombooth commented Feb 8, 2024

Hi @AjayVarmaK,

Thanks for reporting this issue! I just wanted to let you know that a feature that would unblock you in this situation is currently in the works: #5432. Unfortunately there are deeper issues with how we are calculating project summary data, which leads to what you're describing, and while we have those issues tracked, they're not on our immediate roadmap. In the case of a miscalculation though, resetting your project summary data would fix the issue.

Cheers, and thanks for using Label Studio,
Jo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community:bug Triaged by the community team + confirmed to be bug. community:reviewed Issue has been reviewed by the Label Studio Community Team.
Projects
None yet
Development

No branches or pull requests

2 participants