avalanche.benchmarks.benchmark_from_datasets
- avalanche.benchmarks.benchmark_from_datasets(**dataset_streams: Sequence[TCLDataset]) CLScenario [source]
Creates a benchmark given a list of datasets for each stream.
Each dataset will be considered as a separate experience. Contents of the datasets must already be set, including task labels. Transformations will be applied if defined.
Avalanche benchmarks usually provide at least a train and test stream, but this generator is fully generic.
To use this generator, you must convert your data into an Avalanche Dataset.
- Parameters:
dataset_streams – A dictionary with stream-name as key and list-of-datasets as values, where stream-name is the name of the stream, while list-of-datasets is a list of Avalanche datasets, where list-of-datasets[i] contains the data for experience i.