Revision ae1dc1b14d1cab584f2ba6a18b0cb3aa00d7e429 authored by Kirill Sizov on 05 October 2023, 12:42:15 UTC, committed by GitHub on 05 October 2023, 12:42:15 UTC
When we export a task or project in CVAT format [our code
uses](https://github.com/opencv/cvat/blob/d497bb6a90dd3c9625c3c8e8f73278019e21983d/cvat/apps/dataset_manager/formats/cvat.py#L717)
the `group_by_frame` function. For tasks and for projects behaviour of
this function is different since for tasks [we perform sorting
frames](https://github.com/opencv/cvat/blob/d497bb6a90dd3c9625c3c8e8f73278019e21983d/cvat/apps/dataset_manager/bindings.py#L420-L421)
but for projects [we
don't](https://github.com/opencv/cvat/blob/d497bb6a90dd3c9625c3c8e8f73278019e21983d/cvat/apps/dataset_manager/bindings.py#L1152-L1154).
As a result, we can have a situation when our annotation file for the
project will have a list of images in unsorted form. So this PR adds
sorting frames during project export as well.
1 parent bfc86ae
History
File Mode Size
.github
.vscode
components
cvat
cvat-canvas
cvat-canvas3d
cvat-cli
cvat-core
cvat-data
cvat-sdk
cvat-ui
dev
helm-chart
serverless
site
supervisord
tests
utils
.bandit -rw-r--r-- 208 bytes
.codacy.yml -rw-r--r-- 122 bytes
.coveragerc -rw-r--r-- 748 bytes
.dockerignore -rw-r--r-- 83 bytes
.editorconfig -rw-r--r-- 373 bytes
.eslintignore -rw-r--r-- 100 bytes
.eslintrc.js -rw-r--r-- 3.0 KB
.gitattributes -rw-r--r-- 664 bytes
.gitignore -rw-r--r-- 993 bytes
.gitmodules -rw-r--r-- 97 bytes
.nycrc -rw-r--r-- 353 bytes
.prettierignore -rw-r--r-- 81 bytes
.prettierrc -rw-r--r-- 666 bytes
.pylintrc -rw-r--r-- 30.9 KB
.remarkignore -rw-r--r-- 53 bytes
.remarkrc.js -rw-r--r-- 731 bytes
.stylelintrc.json -rw-r--r-- 319 bytes
CHANGELOG.md -rw-r--r-- 105.2 KB
CITATION.cff -rw-r--r-- 978 bytes
Dockerfile -rw-r--r-- 6.3 KB
Dockerfile.ci -rw-r--r-- 1.2 KB
Dockerfile.ui -rw-r--r-- 1.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 16.5 KB
SECURITY.md -rw-r--r-- 803 bytes
backend_entrypoint.sh -rwxr-xr-x 1.1 KB
docker-compose.ci.yml -rw-r--r-- 544 bytes
docker-compose.dev.yml -rw-r--r-- 3.0 KB
docker-compose.https.yml -rw-r--r-- 1.3 KB
docker-compose.yml -rw-r--r-- 11.0 KB
lint-staged.config.js -rw-r--r-- 1.6 KB
manage.py -rwxr-xr-x 628 bytes
package.json -rw-r--r-- 5.2 KB
rqscheduler.py -rw-r--r-- 455 bytes
wait-for-it.sh -rwxr-xr-x 4.0 KB
yarn.lock -rw-r--r-- 611.0 KB

README.md

back to top