-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change common semantic segmentation dataset detection rule (#1572)
Since Datumaro 1.8, the following folder structure: ``` # Common semantic segmentation dataset example from OTX tests . └── supervised ├── test │ ├── dataset_meta.json │ ├── images │ │ ├── 0001.png │ │ └── 0002.png │ └── masks │ ├── 0001.png │ └── 0002.png ├── train │ ├── dataset_meta.json │ ├── images │ │ ├── 0001.png │ │ ├── 0002.png │ │ └── 0003.png │ └── masks │ ├── 0001.png │ ├── 0002.png │ └── 0003.png └── val ├── dataset_meta.json ├── images │ ├── 0001.png │ └── 0002.png └── masks ├── 0001.png └── 0002.png ``` is detected as both `common_semantic_segmentation` and `common_semantic_segmentation_with_subset_dirs`. Since they are detected at different levels, the current implementation could not set the higher priority to the second one. This PR updates detection rules for the `common_semantic_segmentation` format, searching for requirements in the root directory only.
- Loading branch information
Showing
3 changed files
with
52 additions
and
15 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