Skip to content

Warning when trying to export yolo dataset after split #194

@anwar1997ff

Description

@anwar1997ff

Steps to reproduce:
dataset = Dataset.import_from("/path/to/dataset", 'yolo')
dataset.transform('detection_split', [('train', 0.5),('val', 0.5)])
dataset.export('/output/path', 'yolo')

Warning:
WARNING:root:Skipping subset export 'val'. If specified, the only valid names are 'train', 'valid'

Which wont save the val data in the dataset.

Replacing "valid" with "val" in datumaro/datumaro/plugins/yolo_format/format.py solved this issue, but not sure if it raises other conflicts

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions