Performance issues while exporting a project ~5000 images #1134
Labels
bounding boxes
Image Object Detection with Bounding Boxes annotation scenario
images
Image annotation cases
performance
Performance & high load-related issues
problem
bug or something isn't working
Projects
Milestone
Describe the bug
When trying to export a Bounding Box labeling project contains 4982 images, a gateway timeout occurred.
Raising the Nginx timeout did not resolve the problem, with more than 10 minutes passed without a response.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A COCO dataset should be downloaded
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
docker-compose up
fix/export-performance
merged.Additional context
Using
py-spy
I collected some profiling info during the request. It seems that much of the time is spent downloading the image files, so a solution might involve handling those downloads better (caching, parallel downloading). The flame SVG reports generated attached.profiles.zip
The text was updated successfully, but these errors were encountered: