- 31 Jul, 2020 2 commits
-
-
moto authored
setuptools warns that it should be imported before Distutils ``` site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first. ```
-
moto authored
* Update links * Add how to run tests * Update asset info
-
- 30 Jul, 2020 2 commits
-
-
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>
-
jimchen90 authored
Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
- 29 Jul, 2020 6 commits
-
-
moto authored
Currently macOS CI job takes twice the time of linux unit tests. This PR uses `pytest-xdist` to run unit tests in parallel on macOS CI job. Interestingly applying the same technique to linux unit tests make the test execution longer. So the change is only applied to macOS. macOS 27 mins -> 17 mins
😸 linux 14 mins -> 1 hours😾 -
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
-
moto authored
-
jimchen90 authored
Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
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 7 commits
-
-
moto authored
* Replace save/load function with sox effects chain
-
moto authored
Part of #764
-
moto authored
* Separate sox list format function for read and write * Guard MP3 smoke test
-
moto authored
-
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 2 commits
-
-
top0coder authored
Co-authored-by:Jeff Zhang <jeffzhang@fb.com>
-
jimchen90 authored
* Add WaveRNN example This is the pipeline example based on [WaveRNN model](https://github.com/pytorch/audio/pull/735) in torchaudio. The design of this pipeline is inspired by [#632](https://github.com/pytorch/audio/pull/632). It offers a standardized implementation of WaveRNN vocoder in torchaudio. * Add utils and readme The metric logger is added based on the Wav2letter pipeline [#632](https://github.com/pytorch/audio/pull/632). It offers the way to parse the standard output as described in readme. * Add channel dimension The channel dimension of waveform in datasets is added to match the input dimensions of WaveRNN model because the channel dimensions of waveform and spectrogram are added in [this part] (https://github.com/pytorch/audio/blob/master/torchaudio/models/_wavernn.py#L281) of WaveRNN model. * Update date split and transform The design of dataset structure is discussed in [this comment](https://github.com/pytorch/audio/pull/749#discussion_r454627027 ). Now the dataset file has a clearer workflow after using the random-split function instead of walking through all the files. All transform functions are put together inside the transforms block. Co-authored-by:
Ji Chen <jimchen90@devfair0160.h2.fair>
-
- 20 Jul, 2020 4 commits
-
-
moto authored
- Addresses #549 #638 #786 - Add `torchaudio` top level module doc - Separate `torchaudio` top level module doc from `index.html` - Add `backend` module doc. - Remove `-> None` from function signature as it adds noise to documentation - Changed function argument name of `torchaudio.backend.sox_io_backend.save` from `tensor` to `src`, so that it matches with the reset of backends. - Tweak bunch of docstrings
-
jimchen90 authored
Fix output type of upsampling Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
jimchen90 authored
* Update default form in docstring Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
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 4 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
-
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 1 commit
-
-
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.
-