aac_datasets.utils.audioset_mapping module

download_audioset_mapping(
cache_path: str | Path | None = None,
verbose: int = 0,
) None[source]
get_audioset_mapping_cache_path(
cache_path: str | Path | None = None,
) Path[source]
load_audioset_mapping(
key_name: str = 'index',
val_name: str = 'display_name',
offline: bool = False,
cache_path: str | Path | None = None,
verbose: int = 0,
) Dict[source]
load_audioset_name_to_idx(
offline: bool = False,
cache_path: str | Path | None = None,
verbose: int = 0,
) Dict[str, int][source]