combined_dataset
CombinedDataset
¶
Bases: ConcatDataset
Combines a list of PyTorch Datasets.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
datasets |
List[Dataset]
|
Pytorch (or FE) Datasets to be combined. |
required |
Raises:
Type | Description |
---|---|
AssertionError
|
raise exception when the input list has less than 2 datasets. |
KeyError
|
raise exception when the datasets does not have same keys. |