HumanSignal / HumanSignal/label-studio

Label View with Brushes Slow and Crashes

Open
#4,507 1 comment 0 reactions 1 assignee Claimed by @makseq View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
A clear and concise description of what the bug is.

I set up the ml backend to use segment anything with auto-detect labels.

**To Reproduce**
Steps to reproduce the behavior:
1. Setup as described here: https://github.com/open-mmlab/playground/tree/main/label_anything
2. Label around 30 objects
3. Observe that the view gets unresponsive and eventually crashes which results in an empty page and hunders of warnings in the console

Note: Should not be specific to the use of the label backend. I observed it by manually adding brush labels.

**Expected behavior**
The view should be responsive and don't crash.

**Screenshots**
second warning repeats a couple hundred times:
![image](https://github.com/heartexlabs/label-studio/assets/5088045/7a44708b-db96-4f45-9354-38d532e83777)
UI after crash :
![image](https://github.com/heartexlabs/label-studio/assets/5088045/a7438dd4-ee46-4a05-a2d6-421b6f156743)
repeats 2 times:
![image](https://github.com/heartexlabs/label-studio/assets/5088045/d8aba08d-d3cb-4e27-b336-a1a826d7eba3)

Logging doesn't seem to work either:
o227124.ingest.sentry.io/:1 Failed to load resource: the server responded with a status of 413 ()
o227124.ingest.sentry.io/:1 Failed to load resource: the server responded with a status of 413 ()`

**Environment (please complete the following information):**
- OS: Linux Mint
- Label Studio Version confirmed on 1.7.3 and 1.8.0
- The System has good performance specs 128GB, i9-11900KF, RTX 3090

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.