datumaro icon indicating copy to clipboard operation
datumaro copied to clipboard

Support metainfo in datasets

Open zhiltsov-max opened this issue 3 years ago • 0 comments

Datasets can have metainfo, which is related to the whole dataset, or it's parts. It is not the annotations in the regular meaning, however. Such metainfo can be related to the whole dataset, specific annotations, categories. Currently, some metainfo can be included in DatasetItem's and Annotation's attributes, but it doesn't cover other cases.

Examples:

Additional questions:

  • If there are multiple extractors providing metainfo in the dataset, how they should be merged?
  • Should attributes and metainfo be split into different fields?

Proposed implementation:

  • Add meta field in IExtractor / IDataset
  • meta is a dictionary with string keys and numbers / strings / dict keys (i.e. can be recursive)

zhiltsov-max avatar Oct 28 '21 13:10 zhiltsov-max