-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve mask import and export performance (#8049)
CVAT uses correct, but suboptimal algorithms for RLE enconding and decoding. This results in bad import and export performance for masks. Quality reports are also affected, as they use the same code to represent datasets. - improved RLE encoding and decoding algorithms for mask conversions in import and export In tests, the average speedup is: - import: ~7.5x - export: ~6x - CVAT to COCO (Datumaro) mask conversions: ~17x - COCO (Datumaro) to CVAT mask conversions: ~6x
- Loading branch information
1 parent
25fc37b
commit 62485fe
Showing
3 changed files
with
70 additions
and
40 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
changelog.d/20240619_143138_mzhiltso_mask_import_export_performance.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
### Changed | ||
|
||
- Improved performance for mask import and export | ||
(<https://github.com/cvat-ai/cvat/pull/8049>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters