dcase_framework.datasets.AcousticSceneDataset¶
-
class
dcase_framework.datasets.AcousticSceneDataset(*args, **kwargs)[source]¶ -
Methods
__init__(\*args, \*\*kwargs)absolute_to_relative(path)Converts absolute path into relative path. check_filelist()Generates hash from file list and check does it matches with one saved in filelist.hash. download_packages()Download dataset packages over the internet to the local path error_meta_count()Number of error meta data items. eval([fold])List of evaluation items. eval_files([fold])List of evaluation files. event_labels()List of unique event labels in the meta data. extract(\*args, \*\*kwargs)Extract the dataset packages file_error_meta(filename)Error meta data for given file file_meta(filename)Meta data for given file folds([mode])List of fold ids initialize()relative_to_absolute_path(path)Converts relative path into absolute path. show_info()test([fold])List of testing items. test_files([fold])List of testing files. train([fold])List of training items. train_files([fold])List of training files. validation_files([fold])List of validation files if they are specified by the dataset. Attributes
audio_file_countGet number of audio files in dataset audio_filesGet all audio files in the dataset audio_tag_countNumber of unique audio tags in the meta data. audio_tagsList of unique audio tags in the meta data. error_metaGet audio error meta data for dataset. event_label_countNumber of unique event labels in the meta data. fold_countNumber of fold in the evaluation setup. metaGet meta data for dataset. meta_countNumber of meta data items. scene_label_countNumber of unique scene labels in the meta data. scene_labelsList of unique scene labels in the meta data.