mlrl.testbed.experiments.input.dataset.reader module

Author: Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes that allow reading datasets from one or several sources.

class mlrl.testbed.experiments.input.dataset.reader.DatasetReader(input_data: InputDataset, *sources: Source)

Bases: InputReader

Allows reading a dataset from one or several sources.

add_preprocessors(*preprocessors: Preprocessor)

Adds one or several preprocessors that should be applied to loaded datasets.

Parameters:

preprocessors – The preprocessors to be added

Returns:

The DatasetReader itself

read(state: ExperimentState) ExperimentState

See mlrl.testbed.experiments.input.reader.InputReader.read()