HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
17.57k stars 2.18k forks source link

Rendering bounding boxes produced by ML model results in application hanging #5965

Open KevinToepelt opened 1 month ago

KevinToepelt commented 1 month ago

Describe the bug Rendering an image with predicted bounding boxes causes the web application to load forever.

To Reproduce Steps to reproduce the behavior:

  1. Use a ML backend to produce a prediction, either through the actions menu, or through the labeling window.
  2. Wait for the bounding boxes to appear
  3. You will instead be met with a loading window, which does not resolve if the number of bounding boxes >= 1.
  4. Reloading the application will result in the image (and bounding boxes) being rendered, but with a loading circle over them.

Screenshots Screenshot of loading window shown below: Screenshot 2024-06-10 at 17-15-13 Label Studio

After reloading, I am met with this: Screenshot 2024-06-10 at 17-16-01 Label Studio

Environment (please complete the following information):

sajarin commented 1 month ago

Thanks for sharing this issue with the team @KevinToepelt. Does this happen with any image, regardless of size? Are there any logs that you can share from the docker containers?