HumanSignal / HumanSignal/label-studio

Auto annotation request delayed significantly after adding a few annotations

Open
#8,201 6 comments 0 reactions 0 assignees View on GitHub
community_investigate community_needs-information
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

When using SAM2 image auto annotation, following the tutorial (https://labelstud.io/tutorials/segment_anything_2_image), after each annotation is added, there is a longer and longer delay before the auto annotation request is made.

**To Reproduce**
Steps to reproduce the behavior:
1) Follow the tutorial to setup SAM2 image: https://labelstud.io/tutorials/segment_anything_2_image
2) Add (and accept) ~10 auto annotations to an image
3) Using the network tab of the dev tools, watch as there is a multi-second delay before any network request is made when adding an 11th annotation.

**Expected behavior**
There should not be a delay before sending the request to get an auto annotation

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**
- OS: MacOS, Firefox
- Label Studio Version 1.20.0
- Label Studio ML Version 2.0.1dev0

**Additional context**
Possibly related to https://github.com/HumanSignal/label-studio/issues/7029, but the suggested solution doesn't make sense in this context as it's suggested that the issue is server side, where this seems to be a client side issue. Once the auto annotation request is made, it responds in less than a second, so I don't believe this is a server issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.