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
File | Mode | Size |
---|---|---|
assets | ||
content | ||
i18n | ||
layouts | ||
static | ||
templates | ||
themes | ||
README.md | -rw-r--r-- | 2.9 KB |
build_docs.py | -rwxr-xr-x | 3.5 KB |
config.toml | -rw-r--r-- | 7.0 KB |
package-lock.json | -rw-r--r-- | 62.1 KB |
package.json | -rw-r--r-- | 541 bytes |
process_sdk_docs.py | -rwxr-xr-x | 8.7 KB |
requirements.txt | -rw-r--r-- | 73 bytes |
Computing file changes ...