HumanSignal / HumanSignal/label-studio

Labeling Interface won't finish loading for simple TextArea labeling task with pre-annotation.

Open
#6,001 2 comments 0 reactions 0 assignees View on GitHub
Community community:issue community:reviewed
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
The labeling interface on a new project sits at the loading bar for a very long time. It is a sequence-to-sequence labeling tasks, and tasks are loading just fine on another project with much longer text.

**To Reproduce**
Steps to reproduce the behavior:
1. This is my interface xml:
```






</View>
```
2. This is a small example task json, with a (fake) prediction to use as pre-annotation:
```
{'data': {'excel_file': 'Redacted Customer Name',
'sheet_name': 'P&L- Monthly',
'mongo_id': '664e22cdbe7762824cd41056',
'official_fields': "['Revenues', 'Cost of Good Sold', 'Gross Profit', 'Operating Expenses', 'Depreciation & Amortization', 'Operating Income', 'Interest', 'Taxes', 'EBITDA', 'EBITDA Adjustments', 'Adjusted EBITDA']"},
'meta': {},
'annotations': [],
'predictions': [{'model_version': 'claude-3-haiku-20240307',
'result': [{'id': None,
'from_name': 'target_sequence',
'to_name': 'official_fields',
'type': 'textarea',
'value': {'text': ['this is fake and short']}}]}],
'prediction_model': 'claude-3-haiku-20240307',
'id': 0}

**Expected behavior**
The labeling interface should eventually load completely.

**Screenshots**
This is what I see, and it just sits there forever. Notice that all the data seem to be loading, but they're in the background waiting for the progress bar to stop. Again, a simlar task that has large csv files as input texts and very long textarea outputs on a similar project are loading just fine.

![image](https://github.com/HumanSignal/label-studio/assets/165709641/2cbf6041-5f97-4014-8fea-c977821dcad6)

**Environment (please complete the following information):**
- OS: Sonoma 14.4.1 is the local machine where the browser is running
- Label Studio is running on a t2.large EC2 box with Ubuntu 22.04.4
- Label Studio Version 1.12.0

**Additional context**
- I can provide an axample from the other project that works if that will help to use as a reference point.
- Label-studio is not running inside a docker container, but there are two other docker lightweight containers running on the same machine
- I have tried rebooting the EC2 instance as well as Label Studio and have done a `docker system prune` just in case there were disk space issues making things hang up. The problem persisted through those initial sniff tests.

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.