-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add multi-label classification dataset and metric (#1572)
* Add multilabel classification dataset - Add MultiLabel annotation support - Refactor de/serialize annotation with AnnotationRaw - Add ImageFolderDataset::with_items methods * Fix custom-image-classification example deps * Add image_folder_dataset_multilabel test * Do not change class names order when provided * Add hamming score and multi-label classification output * Add new_classification_with_items test * Fix clippy suggestions * Implement default trait for hamming score * Remove de/serialization and use AnnotationRaw as type * Fix clippy * Fix metric backend phantom data
- Loading branch information
Showing
7 changed files
with
413 additions
and
36 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
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
Oops, something went wrong.