diff --git a/datumaro/plugins/data_formats/cityscapes.py b/datumaro/plugins/data_formats/cityscapes.py index 1121498f6b..0a8c100ae1 100644 --- a/datumaro/plugins/data_formats/cityscapes.py +++ b/datumaro/plugins/data_formats/cityscapes.py @@ -322,8 +322,7 @@ def detect(cls, context: FormatDetectionContext) -> None: ] media_patterns = [ - f"{CityscapesPath.IMGS_FINE_DIR}/{CityscapesPath.ORIGINAL_IMAGE_DIR}" - f"/**/*{CityscapesPath.ORIGINAL_IMAGE}.*", + f"{CityscapesPath.ORIGINAL_IMAGE_DIR}/**/*{CityscapesPath.ORIGINAL_IMAGE}.*", ] with context.require_any():