avalanche.benchmarks.utils.make_avalanche_dataset
- avalanche.benchmarks.utils.make_avalanche_dataset(dataset: IDataset, *, data_attributes: Optional[List[DataAttribute]] = None, transform_groups: Optional[TransformGroups] = None, frozen_transform_groups: Optional[TransformGroups] = None, collate_fn: Optional[Callable[[List], Any]] = None)[source]
Avalanche Dataset.
Creates a
AvalancheDataset
instance. SeeAvalancheDataset
for more details.- Parameters
dataset – Original dataset. Beware that AvalancheDataset will not overwrite transformations already applied by this dataset.
transform_groups – Avalanche transform groups.