avalanche.benchmarks.utils.make_avalanche_dataset

avalanche.benchmarks.utils.make_avalanche_dataset(dataset: IDataset, *, data_attributes: List[DataAttribute] | None = None, transform_groups: TransformGroups | None = None, frozen_transform_groups: TransformGroups | None = None, collate_fn: Callable[[List], Any] | None = None)[source]

Avalanche Dataset.

Creates a AvalancheDataset instance. See AvalancheDataset for more details.

Parameters:
  • dataset – Original dataset. Beware that AvalancheDataset will not overwrite transformations already applied by this dataset.

  • transform_groups – Avalanche transform groups.