- 17 Jun, 2020 1 commit
-
-
jimchen90 authored
* spacing and typing adjustment * remove import list Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
- 16 Jun, 2020 3 commits
-
-
jimchen90 authored
* Add MelResNet Block * add default value * update model and test * rebase and small changes * add pad variable * update format * update reference in docstrings * add underscore name Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
jimchen90 authored
Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
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.
-
- 15 Jun, 2020 1 commit
-
-
peterjc123 authored
-
- 11 Jun, 2020 4 commits
-
-
moto authored
-
moto authored
`type` used in `common_utils` generates test class definition in `common_utils` and this modifies the module state after it's imported. This is anti-pattern. This PR get rid of the related utility functions and define test suite manually.
-
moto authored
-
moto authored
* Change parameterized testing system to be compatible with unittest Summary: The previous implementation of parameterized testing worked by modifying test.common_utils inplace. This doesn't work in general because unittest's contract with test modules is such that it must be able to load the module and run the test itself. Because the previous implementation needed to load the module and modify it, it is incompatible. Reviewed By: mthrok Differential Revision: D21964676 Co-authored-by:Ben Mehne <bmehne@fb.com>
-
- 10 Jun, 2020 2 commits
-
-
jimchen90 authored
* Add cmu_arctic dataset * add dataset name * update audio test file with whitenoise.wav file * add test text file * update text method and file name * update comment * change datasets order in doc * add line length Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
moto authored
There are couple of aspects of this PR that overall improves the maintainability of the code base, based on "decoupling" and "separation of concerns". First, `sox_effects` functionalities can be either available or unavailable. From the viewpoint of `torchaudio` main module, the looser the connection between the `torchaudio` module and `torchaudio.sox_effects`, the more manageable the code base become because you can change the two modules independently. This is mostly accomplished when the definitions of `initialize_sox` and `shutdown_sox` were moved from `torchaudio.__init__` to `torchaudio.sox_effects`, but the initialization of sox effects are still happening in `torchaudio.__init__`. If we move the initialization to `sox_effects` module, the responsibility of sox initialization is moved to `sox_effects` module, along with the required module availability check etc. The main `torchaudio` module can be carefree about how the `sox_effects` module should work. In addition to that, I found that `initialize_sox` and `shutdown_sox` are confusing because it sound like they are required for `libsox` based I/O. To make it clear, I renamed them to include `sox_effect` in function name. Also moving functions from the original places are BC breaking itself, therefore, these functions are re-imported in `torchaudio.__init__` and renamed to match the original names. Therefore the PR is not BC breaking.
-
- 09 Jun, 2020 2 commits
- 08 Jun, 2020 4 commits
-
-
moto authored
-
moto authored
-
Bhargav Kathivarapu authored
* Make `_generate_wave_table` device and dtype aware. Signed-off-by:Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com>
-
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>
-
- 05 Jun, 2020 5 commits
-
-
moto authored
-
moto authored
-
moto authored
* also deletes duplicated func
-
moto authored
For better cohesion and coupling, move sox_effects related functions to sox_effects module. Then perform initialization in __init__.py. See the following for cohesion and coupling. https://en.wikipedia.org/wiki/Coupling_(computer_programming)
-
moto authored
* Replace `backed_guard` with `requires_module` * Remove backend_guard
-
- 04 Jun, 2020 6 commits
-
-
moto authored
-
Bhargav Kathivarapu authored
* Migrate spectrogram * Update spectrogram in kaldi.py to support device and dtype * Remove failing tests Signed-off-by:Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com>
-
moto authored
-
moto authored
* Add version compatibility matrix
-
moto authored
-
Bhargav Kathivarapu authored
* Fix device/dtype compatibility of Kaldi mfcc * Migrate Kaldi mfcc test * Remove failing tests Signed-off-by:Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com>
-
- 03 Jun, 2020 3 commits
-
-
jimchen90 authored
* Add bass with biquad * Update functional.py Add the normalization coefficients * Update test_sox_compatibility.py In test_sox_compatibility.py file, I add two bass tests: one test sets gain = 30, atol = 1e-4, the other sets gain = 40, atol = 1.5e-4. The details can be seen in pytorch#676 * Update torchscript_consistency_impl.py Add torchscript test * Add flake8 test Co-authored-by:Ji Chen <jimchen90@devfair0160.h2.fair>
-
moto authored
-
Bhargav Kathivarapu authored
* Migrate fbank tests * Update CCI job environment * Remove invalid test cases Signed-off-by:Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com>
-
- 02 Jun, 2020 3 commits
-
-
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:Vincent QB <vincentqb@users.noreply.github.com>
-
Mike Ruberry authored
* Updates test_transform.py to no longer perform floor division using torch.div This will prevent this test from breaking when torch.div is updating to throw a runtime error when it would have performed floor division. * flake8 Co-authored-by:Vincent QB <vincentqb@users.noreply.github.com>
-
Bhargav Kathivarapu authored
* Add flanger to functional Signed-off-by:
Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com> * Add random seed Signed-off-by:
Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com> * fix flanger Signed-off-by:
Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com> * shape * Change bool arguments to strings Signed-off-by:
Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com> * Refactor tests Signed-off-by:
Bhargav Kathivarapu <bhargavkathivarapu31@gmail.com> Co-authored-by:
Vincent QB <vincentqb@users.noreply.github.com>
-
- 01 Jun, 2020 2 commits
- 29 May, 2020 1 commit
-
-
Emmanouil Theofanis Chourdakis authored
* Add info on README.md for #666 Added a simple command what to do when coming across undefined reference errors when trying to build from specific linux+anaconda configurations.
-
- 28 May, 2020 1 commit
-
-
moto authored
* Separate style check from unit test * TEST flake8 fail * TEST clang-format fail * Revert "TEST flake8 fail" This reverts commit 88d90185cefe294b9a662129a05c2e26a9844fe4. * Revert "TEST clang-format fail" This reverts commit 93517d1ccba650a6ccd813268fd73a4fd63b252c.
-
- 27 May, 2020 2 commits