-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TaskVisionDataset: add a way to specify a custom label-name-to-index …
…mapping The default numbering is generally unpredictable, so it's not especially useful outside of basic use cases. Given that there's no way to specify custom indexes for labels on the server side, make it possible on the client side. The input dictionary maps label _names_ to indexes, because names is what a CVAT user would be familiar with. The output dictionary in the `Target` class still maps label _IDs_, because that's what CVAT uses in the annotation data models.
- Loading branch information
Showing
2 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
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