cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.35k stars 2.97k forks source link

UI becomes super slow with > 1K annotations #3875

Open H-Shafiei opened 2 years ago

H-Shafiei commented 2 years ago

Hi

I have a job containing 2 images which I start to annotate with the polygon tool. After annotating more than 800 polygons per image, the UI gets extremely slow. How can this be fixed?

Thanks

nmanovic commented 2 years ago

@H-Shafiei , which version of CVAT do you use? Could you please fill issue template?

WiktorAdamczyk1 commented 2 years ago

Hey, I'm having the same issue while annotating on cvat.org. I'm reaching 5000 polygon annotations over 3 images with resolutions around 10000x5000.

My actions before raising this issue

Expected Behaviour

UI should be able to handle a large number of annotations on a single image without making every action delayed.

Current Behaviour

Loading an image with around 3000 polygon annotations causes multiple "Page unresponsive" prompts, before said image loads. After an image is loaded every action (hovering over UI elements, padding or zooming the image, editing or creating a new annotation) is delayed by 2-5 seconds.

Possible Solution

After detecting a drop in responsiveness (long image load time, a large number of annotations, or the time it takes to perform certain actions) present a user with a way of increasing responsiveness by allowing the user to choose a smaller part of an image that he currently wants to work on which could work as follows:

Context

I'm trying to annotate stars on photos made by astronomic telescopes that are usually large files with thousands of visible stars.

Your Environment

I'm using the cvat.org with Brave browser. GPU: AMD Radeon 5700 XT CPU: AMD Ryzen 3600 RAM: 16GB

I assumed that hosting CVAT locally would not provide any improvement however, let me know if I'm wrong.

pharrellyhy commented 2 years ago

Hi, any update on this issue? CVAT becomes super slow when selecting the label if I have few thousands of label candidates.

Errin890 commented 2 years ago

Hello, I am also wondering if there is any update on this issue? I regularly deal with images that require thousands of labels and after about 700-800 there is a noticeable lag between every single action (selection, creation, deletion, resizing, moving, etc.), sometimes as a large as whole seconds.

As of this moment, I use the latest version in the develop branch.

bsekachev commented 11 months ago

TODO:

josiahls commented 9 months ago

Similar related issue:

Looks like the way around this is to take a dataset, and instead of uploading it whole to cvat, write custom code to chunk the dataset into separate tasks and organize it as its own project

Edit:

ThomasMatono commented 4 months ago

Screenshot (11)

ThomasMatono commented 4 months ago

What could be the problem

bsekachev commented 4 months ago

@ThomasMatono

That is not related to this issue. Try to look at CVAT logs docker logs cvat_server if you are the instance owner, or contact your system administrator.