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
18.13k stars 2.27k forks source link

Error on submiting annotations for BrushLabels #2804

Open homoludens opened 2 years ago

homoludens commented 2 years ago

Describe the bug I have created project with BrushLabels and on some images I can not "Submit" or "Update", I get popup that says "illegal argument(s): seek pos out of bounds: 0". I don't see anything else in terminal log (I am running labelstudio in python virtual env, but tried in docker too). While in javascript console I get "[Violation] 'click' handler took 1417ms" or some other value for infront of ms.

This is happening on some images, while not on others and I am not sure on what is the difference, images are from the same source and process (drone images of sunflower fields) and tried them multiple times in different environments. Results are consisted for the same image.

I can provide images if that can help:

To Reproduce Steps to reproduce the behavior:

  1. Make brush label project
  2. Add image
  3. Do annotation
  4. Try to "Submit" or "Update"
  5. See error

Expected behavior I expect not to get error, and to have work saved.

Environment (please complete the following information):

Any suggestion what to check is appreciated.

It might have something with resolution of the image, still trying out different sizes to find the limit.

homoludens commented 2 years ago

Update: It is dependent on image resolution, anything above 64M pixels is giving back named error.

To Reproduce: