dcase_util.containers.DataRepository.load

DataRepository.load(filename=None, collect_from_containers=True)[source]

Load file list

Parameters
filenamestr or dict

Either one filename (str) or multiple filenames in a dictionary. Dictionary based parameter is used to construct the repository from separate FeatureContainers, two formats for the dictionary is supported: 1) label as key, and filename as value, and 2) two-level dictionary label as key1, stream as key2 and filename as value. If None given, parameter given to class initializer is used instead. Default value None

collect_from_containersbool

Collect data to the repository from separate containers. Default value True

Returns
self