1. 21 Jul, 2020 1 commit
  2. 20 Jul, 2020 1 commit
    • jimchen90's avatar
      Add LibriTTS dataset (#790) · 4b8aad7a
      jimchen90 authored
      
      
      * Add libritts
      
      Add LibriTTS dataset draft
      
      * Add libritts
      
      Use two separate ids for utterance_id.
      
      * Update output form
      
      Use full_id as utterance_id.
      
      * Update format
      
      Add space and test black format
      
      * Update test method
      
      * Add audio and text test
      
      Generate audio and test files on-the-fly in test 
      
      * Update format
      
      * Fix test error and remove assets libritts
      
      The test error is fixed by sorting the file in 4th element instead of 2nd element in samples. Since the files are generated on-the-fly, so the the libritts files in assets are removed.
      
      * Add seed in `get_whitenoise` function
      
      * Change utterance to text
      
      Change `_utterance` to `_text`.
      Co-authored-by: default avatarJi Chen <jimchen90@devfair0160.h2.fair>
      4b8aad7a
  3. 16 Jul, 2020 1 commit
  4. 13 Jul, 2020 1 commit
  5. 18 Jun, 2020 1 commit
    • moto's avatar
      Make TestCases backend-aware (#719) · b17da7a4
      moto authored
      * Make tests backend aware by introducing TorchaudioTestCase and reset backend for each TestCase.
      
      * Set backends for the test cases that require specific backend.
      b17da7a4
  6. 16 Jun, 2020 1 commit
    • moto's avatar
      Refactor backend and not rely on global variables on switching (#698) · e9f19c35
      moto authored
      * Refactor backend switching
      
      1. Do not rely on global variables for backend switch
         So that load/save/info/load_wav functions will be torchscript-able
      2. Add no_backend module to for the case there is no backend module available
         [bonus] This allows the whole codebase importable on systems that do not have torchaudio C++ extension nor soundfile.
      e9f19c35
  7. 10 Jun, 2020 1 commit
  8. 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
  9. 27 May, 2020 1 commit
  10. 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
  11. 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
  12. 03 Apr, 2020 2 commits
  13. 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
  14. 20 Feb, 2020 1 commit
  15. 06 Nov, 2019 2 commits
  16. 29 Oct, 2019 1 commit
  17. 23 Oct, 2019 1 commit