dgs.models.dataset.get_multi_dataset

dgs.models.dataset.get_multi_dataset(config: dict[str, any], path: list[str], ds_name: str, concat: bool = True) torch.utils.data.ConcatDataset.<class 'dgs.models.dataset.dataset.BaseDataset'> | list[~dgs.models.dataset.dataset.BaseDataset][source]

Create a concatenated dataset from the given configuration and path.

Parameters:
  • config – The overall configuration for the tracker.

  • path – The path to the dataset-specific parameters.

  • ds_name – The type of dataset to create as a string from all the available datasets.

  • concat – Whether to concatenate the list of datasets in the end. Default: True.