- 05 Aug, 2020 1 commit
-
-
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`)
-
- 04 Aug, 2020 1 commit
-
-
moto authored
-
- 03 Aug, 2020 1 commit
-
-
gmagogsfm authored
-
- 31 Jul, 2020 2 commits
-
-
moto authored
Currently our test suites automatically/silently skip tests on C++ extension if it is not available. This is nice in local env, but in CI these tests should be enforced and reported as failure if C++ extension is not available. This PR adds switch for making tests fail if C++ extension is not available, and make CI for *nix fail if that's the case.
-
moto authored
* Update links * Add how to run tests * Update asset info
-
- 30 Jul, 2020 1 commit
-
-
Jeremy Chen authored
* `istft` has been migrated to `pytorch`, and `torchaudio.functional.istft` has been deprecated in 0.6.0 release. This PR removes it Co-authored-by:Jeremy Chen <jeremyyy@fb.com>
-
- 29 Jul, 2020 3 commits
-
-
moto authored
Now that most of our test cases are backend aware/agnostic, the use of BACKENDS and BACKENDS_MP3 is anti-pattern. This change moves these definitions to the legacy test module `test_io`. If a new backend is added in future, that backend should have separate test suite, (like the ones in `test/sox_io_backend`) so instead of dynamically listing available backend in `test_io`, the changed code only checks "sox" backend and "soundfile" backend.
-
moto authored
-
jimchen90 authored
* Remove underscore of model name Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
- 28 Jul, 2020 2 commits
-
-
suraj813 authored
-
Yazhi Gao authored
* Add test for CommonVoice dataset * Migrate the existing tests for `bg_iterator` and `diskcache_iterator` to `test/datasets/utils_test.py` Co-authored-by:Leon Gao <legao@linkedin.com>
-
- 27 Jul, 2020 3 commits
-
-
Brandon Lin authored
-
Lawrence Chen authored
Co-authored-by:lawrencechen <lawrencechen@devvm3189.vll0.facebook.com>
-
Edward Lu authored
Co-authored-by:Edward Lu <edlu@fb.com>
-
- 24 Jul, 2020 1 commit
-
-
jimchen90 authored
* Update sample rate of libritts test Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
- 23 Jul, 2020 4 commits
- 22 Jul, 2020 5 commits
-
-
moto authored
Part of #764
-
moto authored
* Separate sox list format function for read and write * Guard MP3 smoke test
-
moto authored
buck gets confused with utility module name with `test_` prefix.
-
moto authored
1. Move misplaced sox compatibility test (T,Fade, T.Vol, T.Vad) to test/test_sox_compatibility.py 2. Move test_sox_effects to test/sox_effect/ where all the other functionalities from torchaudio.sox_effects are tested
-
moto authored
Currently all the tests in `sox_io_backend` and `sox_effects` (for new SoX effects implementation) requires additional `sox`, and this prevents running test in environment where `sox` command is not available even though `torchaudio` extension is available (such as fb internal). This PR adds smoke tests for these modules, which just runs functions to see if they do not crash.
-
- 21 Jul, 2020 1 commit
-
-
top0coder authored
Co-authored-by:Jeff Zhang <jeffzhang@fb.com>
-
- 20 Jul, 2020 1 commit
-
-
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:Ji Chen <jimchen90@devfair0160.h2.fair>
-
- 17 Jul, 2020 2 commits
-
-
jimchen90 authored
* Change the name of n_output and n_hidden * Replace the mode by n_classes and sample_rate * Change the definition of n_output and n_hidden Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
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).
-
- 16 Jul, 2020 3 commits
-
-
moto authored
-
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>
-
moto authored
* Add sox_utils module * Make init/shutdown thread safe * Add sox effects implementation * Add test for sox effects * Update docstrings and add examples
-
- 14 Jul, 2020 3 commits
-
-
moto authored
This PR replaces `torchaudio.sox_effects.SoxEffectsChain` in `test_sox_compatibility` with bare `sox` command. The parity of `torchaudio.sox_effects.SoxEffectsChain` against `sox` command is not tested and it has known issues https://github.com/pytorch/audio/issues/771, therefore it is not appropriate to use this class for testing other functions.
-
moto authored
`test/test_sox_effects.py::Test_SoxEffectsChain::test_lowpass_speed` has some issue on our macOS CI, even though there was no issue at #777 . While we figure out the fix, we disable this test for macOS.
-
engineerchuan authored
Part of #764 - Replace `whitenoise.wav` with on-the-fly data generation - Replace `torchaudio.load` with `common_utils.load_wav` - Replace `steam-train-whistle-daniel_simon.mp3` with `.wav`
-
- 13 Jul, 2020 1 commit
-
-
engineerchuan authored
* Change 'sox' to 'default'
-
- 12 Jul, 2020 1 commit
-
-
engineerchuan authored
* converted CommonVoice tartar mp3 to wav using rate 8000 Hz * Remove Unused dtmf_30s_stereo.mp3
-
- 08 Jul, 2020 3 commits
-
-
Artyom Astafurov authored
* add Waveforms for Testing Purposes section * Update test/README.md use wrapper function for scipy.io.wavfile.read Co-authored-by:
moto <855818+mthrok@users.noreply.github.com> * remove un-used files from the doc * Update test/README.md Rename variable Co-authored-by:
moto <855818+mthrok@users.noreply.github.com> * fix indent; remove mentions of unused files * remove whitenoise* files from README.md Co-authored-by:
moto <855818+mthrok@users.noreply.github.com>
-
moto authored
-
jimchen90 authored
* upsamplenetwork * update variable names * update variable name * add wavernn model * update test * update format * update format * update format * fix conflicts and add transpose * import update * update transpose * update format * update docstring * add n_channel in input * add comment * update docstring * update docstring Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
- 06 Jul, 2020 1 commit
-
-
moto authored
-