"vscode:/vscode.git/clone" did not exist on "6e238d5235d001966fbedb644575903c507494b4"
  1. 26 Apr, 2021 1 commit
  2. 19 Apr, 2021 1 commit
  3. 15 Apr, 2021 1 commit
  4. 14 Apr, 2021 1 commit
  5. 13 Apr, 2021 1 commit
    • Jcaw's avatar
      Remove VAD from batch consistency tests (#1451) · 749c0e39
      Jcaw authored
      The VAD function trims the input tensor to the first instance of voice
      activity on any channel or item. Trimming batches this way may be
      undesirable as the item with earliest activity will dominate. Either
      way, the batch behaviour does not match the itemwise behaviour.
      
      The VAD batch consistency tests currently pass out of coincidence, but
      they specify incorrect behaviour. This commit removes them.
      749c0e39
  6. 08 Apr, 2021 1 commit
  7. 07 Apr, 2021 2 commits
  8. 06 Apr, 2021 1 commit
    • steveplazafb's avatar
      Refactors functional test (#1435) · e9726f08
      steveplazafb authored
      Merges lfilter and spectrogram classes together in the common implementation and modifies the cpu and gpu test definitions accordingly
      e9726f08
  9. 05 Apr, 2021 1 commit
  10. 02 Apr, 2021 2 commits
    • moto's avatar
      Make `F.phase_vocoder` and `T.TimeStretch` handle complex dtype (#1410) · 0433b7aa
      moto authored
      1. `F.phase_vocoder` accepts Tensor with complex dtype.
          * The implementation path has been updated from #758 so that they share the same code path by internally converting the input Tensor to complex dtype and performing all the operation on top of it.
          * Adopted `torch.polar` for simpler Tensor generation from magnitude and angle.
      2. Updated tests
          * librosa compatibility test for complex dtype and pseudo complex dtype
              * Extracted the output shape check test and moved it to functional so that it will be tested on all the combination of `{CPU | CUDA} x {complex64 | complex128}`
          * TorchScript compatibility test for `F.phase_vocoder` and `T.TimeStretch`.
          * batch consistency test for `T.TimeStretch`.
      0433b7aa
    • Michael Melesse's avatar
      a6cdd6c7
  11. 31 Mar, 2021 1 commit
  12. 29 Mar, 2021 1 commit
  13. 22 Mar, 2021 1 commit
  14. 15 Mar, 2021 3 commits
  15. 10 Mar, 2021 1 commit
  16. 08 Mar, 2021 1 commit
  17. 05 Mar, 2021 3 commits
  18. 04 Mar, 2021 1 commit
    • Jcaw's avatar
      Parameterize librosa compatibility test (#1350) · 7de5f98c
      Jcaw authored
      Parameterize `test_create_fb` so each set of values are tested
      independently. Also explicitly skip on older versions of librosa (< 0.7.2) when
      `norm="slaney"`.
      7de5f98c
  19. 03 Mar, 2021 2 commits
  20. 02 Mar, 2021 2 commits
  21. 28 Feb, 2021 1 commit
    • Jcaw's avatar
      Apply functional batch consistency tests to batches of different items (#1315) · 3047dc9b
      Jcaw authored
      * Test with batches of differing items
      
      Issues that occur when different items in a batch influence one another
      will not present when a batch is composed of identical items. When
      checking the consistency of batched behavior, in order to catch these
      issues items should be different.
      
      Thus, use different items for the `functional` batch consistency tests
      wherever possible.
      
      * Generate different white noise in each channel
      
      Don't duplicate a single channel multiple times. Since this is used for
      testing, generate different noise in each channel so data leakage
      between channels can be detected.
      
      * Parameterize batch size in batch consistency tests
      
      Rather than creating a batch of 3 items in each test and slicing it to
      test two different batch sizes at once, parameterize the batch size on
      the TestFunctional class itself. This will generate a separate set of
      tests for each batch size (better isolating failures) and removes a
      leaky abstraction where the test calling `assert_batch_consistencies`
      had to know to give it a batch size greater than 1.
      
      * Check inputs too, to catch in-place operations
      
      Check inputs to the batch consistency operations too, to ensure any
      in-place operations operate the same on items as batches - not just that
      they output the same result.
      
      * Use much shorter sample for phaser test
      
      Using a 5-second signal for the phaser test takes a long time on CPU,
      much longer than the other batch consistency tests. Use a shorter signal
      instead.
      
      * Load dual-channel wav for VAD test
      
      The stereo wav has two channels, slightly offset, so they'll count as
      different items.
      
      * Load wav using common_utils, not torchaudio.load
      
      * Test pitch frequency with different freqs per item
      
      The pitch frequency batch test was using the same frequency for each
      item, which may not catch data leakage between items within a batch. Use
      different frequencies so these kinds of issues would be triggered, just
      like the other batch consistency tests.
      
      * Explain justification for single-item batch
      3047dc9b
  22. 21 Feb, 2021 1 commit
  23. 15 Feb, 2021 1 commit
  24. 09 Feb, 2021 2 commits
  25. 04 Feb, 2021 2 commits
  26. 20 Jan, 2021 1 commit
  27. 08 Jan, 2021 1 commit
  28. 06 Jan, 2021 1 commit
  29. 21 Sep, 2020 1 commit
  30. 05 Aug, 2020 1 commit
    • moto's avatar
      [CI] Run unit test with non-editable installation (#845) · 9ba02d5b
      moto authored
      We have been running unit test with editable installation. (i.e. `python setup.py develop`), with which we missed issues like #842. 
      
      This CC makes installation in CI non-editable, and change test directory structure so that the source code will not shadow the installed version of `torchaudio`. With simple `pytest test`, `pytest` modifies `sys.path` and prepend checked out repository, which shadows the installed version.
      
      To remedy this, the whole test suites has been moved from `./test` to `./test/torchaudio_unittest`. This adds nice module structure to our test code and we can do absolute import in each test module, which makes it possible again to run test with `python -m unittest torchaudio_unittest/XXX.py`
      
      This change does not affect the regular development process (`python setup.py develop` && `pytest test`)
      9ba02d5b