MUSDB_HQ¶
- class torchaudio.datasets.MUSDB_HQ(root: Union[str, Path], subset: str, sources: Optional[List[str]] = None, split: Optional[str] = None, download: bool = False)[source]¶
MUSDB_HQ [Rafii et al., 2019] dataset.
- Parameters:
root (str or Path) – Root directory where the dataset’s top level directory is found
subset (str) – Subset of the dataset to use. Options: [
"train","test"].sources (List[str] or None, optional) – Sources extract data from. List can contain the following options: [
"bass","drums","other","mixture","vocals"]. IfNone, dataset consists of tracks except mixture. (default:None)split (str or None, optional) – Whether to split training set into train and validation set. If
None, no splitting occurs. Iftrainorvalidation, returns respective set. (default:None)download (bool, optional) – Whether to download the dataset if it is not found at root path. (default:
False)