Added the popular GTZAN dataset: (#668)
* Added the popular GTZAN dataset:
* Added the GTZAN class in torchaudio.datasets using the same format as the rest of the datasets.
* Added the appropriate test function in test_datasets.py.
* Added the GTZAN class in the datasets.rst documentation file.
* Addressed review issues in PR #668
* Added dummy noise .wav in `test/assets/`
* Removed transforms of input and output from the dataset
`__init__` function, as well as the corresponding methods.
* Replaced rendundant `filtered` and `subset` methods from
class initialization and also changed the corresponding
assertion message.
* Fixed E303: too many blank lines error
* Added GTZAN to __init__.__all__
* Fixed incorrectly not importing GTZAN
* removed duplicate warning
* lint
Co-authored-by:
Vincent QB <vincentqb@users.noreply.github.com>
Showing
File added
torchaudio/datasets/gtzan.py
0 → 100644
This diff is collapsed.
Please register or sign in to comment