1. 10 Jun, 2020 1 commit
  2. 02 Jun, 2020 1 commit
    • Emmanouil Theofanis Chourdakis's avatar
      Added the popular GTZAN dataset: (#668) · b0367251
      Emmanouil Theofanis Chourdakis authored
      
      
      * 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: default avatarVincent QB <vincentqb@users.noreply.github.com>
      b0367251
  3. 27 May, 2020 1 commit
  4. 04 May, 2020 1 commit
    • peterjc123's avatar
      Enable unittest jobs for windows (#604) · 4a24ed72
      peterjc123 authored
      
      
      * Turn on tests when building through conda-build
      
      * skip one failling test on windows.
      
      * Switch to unittest
      
      * Fix conda env activation
      
      * add linux only condition
      
      * Fix librosa installation
      
      * conda-forge channel as a fallback
      
      * Revert "conda-forge channel as a fallback"
      
      This reverts commit 8c15f6638e34792640a3de3e057d9c2995425180.
      
      * Try the pytorch way
      
      * Use conda-forge
      
      * Disable conda-forge
      
      * Install future at setup env
      
      * Move linux unittest CI job tools to dedicated directory
      
      * Restore Linux scripts and move the updated souces to a new subdir
      
      * Add back future
      
      * Remove comments
      Co-authored-by: default avatarVincent Quenneville-Belair <vincentqb@gmail.com>
      Co-authored-by: default avatarmoto <855818+mthrok@users.noreply.github.com>
      4a24ed72
  5. 14 Apr, 2020 1 commit
    • moto's avatar
      Simplify and abstract away asset access in test (#542) · 0e5581cb
      moto authored
      This PR aims the following things;
      1. Introduce and adopt helper function `get_asset_path` that abstract the logic to construct path to test assets.
      2. Remove `create_temp_assets_dir` anywhere except `test_io`.
      
      The benefits of doing so are,
      a. the test code becomes simpler (no manual construction of asset path with `os.path.join`)
      b. No unnecessary directory creation and file copies.
      
      For 2. and b. tests in `test_io.py` (or tests that use `torchaudio.save`) are the only tests that need to write file to the disc, where the use of temporary directory makes it cleaner, therefore, `create_temp_assets_dir` is not necessary elsewhere. (still, `test_io` does not need to copy the entire asset directory, but that's not the point here.)
      
      Also if any test is accidentally overwriting an asset data, not using a copy will make us aware of such behavior, so it is better to get rid of `create_temp_assets_dir`.
      0e5581cb
  6. 03 Apr, 2020 2 commits
  7. 22 Feb, 2020 1 commit
    • Tomás Osório's avatar
      Adding Speech Command Dataset (#437) · 4d58bc46
      Tomás Osório authored
      
      
      * add speechcommand dataset and test
      
      * prepend the full path to each result
      
      * add missing param on docstring in walk_files
      
      * add file to run tests on SpeechCommand Dataset
      
      * reduce logic
      
      * update test on SpeechCommands
      
      * correct the indentation on docstring walk_files
      
      * flake8 compliance
      
      * change tuple type returned. move path split logic in load item.
      
      * typo in name.
      
      * redundant file path.
      
      * filter background noise.
      Co-authored-by: default avatarVincent QB <vincentqb@users.noreply.github.com>
      4d58bc46
  8. 20 Feb, 2020 1 commit
  9. 06 Nov, 2019 2 commits
  10. 29 Oct, 2019 1 commit
  11. 23 Oct, 2019 1 commit