From ae1c223a8a9e8d3c5dfbe379fb417d52c1448ccf Mon Sep 17 00:00:00 2001 From: kirill-sizov Date: Fri, 29 Sep 2023 11:05:44 +0300 Subject: [PATCH 1/2] sort frames during project dumping --- cvat/apps/dataset_manager/bindings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvat/apps/dataset_manager/bindings.py b/cvat/apps/dataset_manager/bindings.py index d1f52e79546..5d6a48b6f02 100644 --- a/cvat/apps/dataset_manager/bindings.py +++ b/cvat/apps/dataset_manager/bindings.py @@ -1149,7 +1149,7 @@ def get_frame(task_id: int, idx: int) -> ProjectData.Frame: return frames[(frame_info["subset"], abs_frame)] if include_empty: - for ident in self._frame_info: + for ident in sorted(self._frame_info): if ident not in self._deleted_frames: get_frame(*ident) From c56efe16755d180fcad500ab42f18a5e441da286 Mon Sep 17 00:00:00 2001 From: kirill-sizov Date: Mon, 2 Oct 2023 09:38:29 +0300 Subject: [PATCH 2/2] update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index adc25267b52..896df047a14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Downloading additional data from cloud storage if use_cache=true and job_file_mapping are specified () - Leaving an organization () +- Order of images in annotation file when dumping project in CVAT format () ## \[2.7.1\] - 2023-09-15