- 03 Aug, 2020 1 commit
-
-
gmagogsfm authored
-
- 21 Jul, 2020 1 commit
-
-
top0coder authored
Co-authored-by:Jeff Zhang <jeffzhang@fb.com>
-
- 16 Jul, 2020 1 commit
-
-
engineerchuan authored
* Get rid of sine wave files and whitenoise files * Refactor integer encoding * Relax rtol from 1e-8 to 1e-7 for compliance kaldi * relax waveform multi channel resample atol to 1e-7 from 1e-8 * relax tolerance for length consistency for speed effect Co-authored-by:moto <855818+mthrok@users.noreply.github.com>
-
- 18 Jun, 2020 1 commit
-
-
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.
-
- 08 Jun, 2020 1 commit
-
-
Bhargav Kathivarapu authored
* kaldi compliance files cleanup for spec, fbank, mfcc * kaldi compliance tests removal for spec, fbank, mfcc Signed-off-by:Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com>
-
- 27 May, 2020 1 commit
-
-
moto authored
-
- 14 Apr, 2020 1 commit
-
-
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`.
-
- 06 Apr, 2020 1 commit
-
-
moto authored
* grep -l 'torch.allclose' -r test | xargs sed -i 's/assert torch.allclose/torch.testing.assert_allclose/g' * grep -l 'torch.allclose' -r test | xargs sed -i 's/self.assertTrue(torch.allclose(\(.*\)))/torch.testing.assert_allclose(\1)/g' * Fix missing atol/rtol, wrong shape, argument order. Remove redundant shape assertions
-
- 30 Mar, 2020 2 commits
-
-
Vincent QB authored
* testing with sox only when sox is available. * use wav instead of mp3 for testing functions. * typo. * guard against not sox. * backends definition. * grouping backend functions into a separate file. * remove duplicated code. * requires sox. * replace by wav, requires sox. * require with scope. * undo alignment. * requires sox for these two, because of mp3. * no longer need first mp3. * cleaning. * new wav version of file. * flake8. * remove unnecessary load. * flake8. * lint. * lint. * revert formatting of file. * merging into common_utils. * docstring. * rename to common_utils.
-
moto authored
-
- 19 Sep, 2019 1 commit
-
-
Vincent QB authored
* compute deltas. * multichannel, and random test. * documentation. * feedback. changing name of window to win_length. * passing padding mode.
-
- 16 Aug, 2019 1 commit
-
-
jamarshon authored
-
- 02 Aug, 2019 1 commit
-
-
Edward Z. Yang authored
- Apply __future__ imports uniformly (future division is the biggy, but absolute imports mattered too) - Hotfix use of tempfile.TemporaryDirectory using a BC library (DO NOT add this library as a dependency to torchaudio; it's only for testing) - Replace math.gcd with fractions.gcd - Fix a weird pytest collection bug involving parametrized tests - Turn on Python 2 and Python 3.7 in Travis. Signed-off-by:Edward Z. Yang <ezyang@fb.com>
-
- 30 Jul, 2019 1 commit
-
-
Edward Z. Yang authored
This makes it easier to test against an installed wheel, as the torchaudio folder is no longer preferentially picked up when you run a test module. I had to move all tests in subfolders into the top level test directory to make this work, since you can't access .. modules without mucking around with sys.path (which I don't want to do.) NB: this BREAKS the syntax where you can run a test by saying `python -m test.test`. Instead, do `python test/test.py` or use the pytest runner. Signed-off-by:Edward Z. Yang <ezyang@fb.com>
-
- 22 Jul, 2019 1 commit
-
-
jamarshon authored
-
- 16 Jul, 2019 1 commit
-
-
jamarshon authored
-
- 02 Jul, 2019 1 commit
-
-
jamarshon authored
-
- 18 Jun, 2019 1 commit
-
-
jamarshon authored
-