MultiDataset
- class lib.training.data.data_set.MultiDataset(datasets: tuple[_BaseSet, ...], is_random: bool = True)
Bases:
DatasetHandles processing data for models with multiple inputs. The length is set as the largest dataset. Shuffling all datasets is handled internally at the end of each
- Parameters:
datasets (tuple[_BaseSet, ...]) – The input specific datasets for feeding the model
is_random (bool) –
Trueif data from each of the datasets should be read randomly.Falseif all datasets should return the item for the given index
Methods Summary
shuffle()Shuffle all of the contained dataset's data
Methods Documentation
- shuffle() None
Shuffle all of the contained dataset’s data
- Return type:
None
- shuffle() None
Shuffle all of the contained dataset’s data
- Return type:
None