Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does anyone know how to fix loading size #3601

Closed
SaihholdChiu opened this issue Aug 26, 2021 · 9 comments
Closed

does anyone know how to fix loading size #3601

SaihholdChiu opened this issue Aug 26, 2021 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@SaihholdChiu
Copy link

I deployed CVAT on my personal server, i realized it will load all images even I split them to multiple jobs, it caused loading very slowly, so where should I change the loading size to only 1 image?

@g-kartik
Copy link
Contributor

Do you mean, you have created a task with many segment jobs and the uploaded images are large in size.

And when opening a job it downloads all the images of a task even though you have opened only the first job?

@SaihholdChiu
Copy link
Author

Do you mean, you have created a task with many segment jobs and the uploaded images are large in size.

And when opening a job it downloads all the images of a task even though you have opened only the first job?

Yes, I created a task with 1 images per job, but when I opened a single job it loaded all images.

@g-kartik
Copy link
Contributor

g-kartik commented Aug 26, 2021

Yes I confirmed it. When opening any one job, it calls task/id/data with params type=chunk and quality=compressed which returns a zip file with all the images of the task. And it is cached for future requests of job images of the task.

There should be option for the user to set type=frame to get images one by one and not in chunk. And also the chunk should be generated job wise not task wise.

@SaihholdChiu
Copy link
Author

Yes I confirmed it. When opening any one job, it calls task/id/data with params type=chunk and quality=compressed which returns a zip file with all the images of the task. And it is cached for future requests of job images of the task.

There should be option for the user to set type=frame to get images one by one and not in chunk. And also the chunk should be generated job wise not task wise.

Yes, at least it should only loads images in the job, instead of the whole task, btw who is this?

@azhavoro
Copy link
Contributor

@azhavoro azhavoro added the question Further information is requested label Aug 26, 2021
@SaihholdChiu
Copy link
Author

Hi, it's depends on chunk size option: https://openvinotoolkit.github.io/cvat/docs/manual/basics/creating_an_annotation_task/#chunk-size

So if I set the chunk size as 1, it will load per frame at a single time?

@bsekachev
Copy link
Member

So if I set the chunk size as 1, it will load per frame at a single time?

Yes, it is expected.

@nmanovic nmanovic added bug Something isn't working and removed question Further information is requested labels Nov 20, 2021
@nmanovic
Copy link
Contributor

It should load images only for the job. I agree. We will fix that in v2.x with updated REST API.

@Marishka17 Marishka17 self-assigned this Dec 8, 2021
@azhavoro
Copy link
Contributor

azhavoro commented Feb 7, 2025

Fixed in #8272

@azhavoro azhavoro closed this as completed Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants