HumanSignal / HumanSignal/label-studio

Tasks won't load with only prediction (no annotation)

Open
#9,633 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
When I try to open labeling for a task that has predictions without annotations it fails to load. This is for preforming multi-class classification on audio files. I figured it would be more useful to show a video of the issue:

[video demonstration](https://youtu.be/3K5JwUqDnDk)

Along with this, in the console there is the following error occurring when this happens:

```
Uncaught (in promise) TypeError: e.id.replace is not a function
addAnnotationFromPrediction store.js:537
addAnnotationFromPrediction store.js:535
MobX 5
setAnnotation lsf-sdk.js:642
setLSFTask lsf-sdk.js:457
store.js:537:27
```

**To Reproduce**
Steps to reproduce the behavior:
1. Not sure if this is specific to my setup so I figured I'd include our interface setup:
2. Set up a model, fit a model, label all tasks in project to do some active learning. Get results like this:
3. Try to open a task that has not been annotated
4. See errors in console

**Expected behavior**
I expect the audio clip to load in and the interface to let me modify the predicted content to match my own thoughts.

**Screenshots**
Raw link for video: https://youtu.be/3K5JwUqDnDk

**Environment (please complete the following information):**
- Arch Linux, running in Firefox 148.0.2-1
- Label Studio: 1.23.0

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.