• Emmanouil Theofanis Chourdakis's avatar
    Changed GTZAN so that it only traverses filenames belonging to the dataset (#791) · 47eb1e6a
    Emmanouil Theofanis Chourdakis authored
    * Addressed review issues in PR #668
    
    * Changed GTZAN so that it only traverses filenames belonging to the dataset
    
    Now, instead of walking the whole directory and subdirectories of the dataset
    GTZAN only looks for files under a `genre`/`genre`.`5 digit number`.wav format, where `genre` is an allowed GTZAN genre label.
    This allows moving or removing files from the dataset (e.g. for fixing duplication or mislabeling issues).
    47eb1e6a
gtzan.py 22.5 KB