"vscode:/vscode.git/clone" did not exist on "cc26cd8139c672016b6a578ea8d02138b53eb193"
  1. 01 Oct, 2020 1 commit
  2. 29 Sep, 2020 1 commit
  3. 28 Sep, 2020 2 commits
    • moto's avatar
      Add "soundfile" backend compatible to "sox_io" (#922) · 2c723e8c
      moto authored
      As a part of the "sox" backend sunset plan (#903), we add a "soundfile" backend that is compatible with the "sox_io" backend. No new public backend name is added. We provide a switch to change the interface/behavior of "soundfile" backend.
      
      This commit contains;
       - The implementation of the new "soundfile" backend.
       - The flag to switch the behavior of "soundfile" backend. (`torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE`)
       - Test for the new backend and switching mechanism.
      
      The default behavior of "soundfile" backend is not changed. The users who want to opt-in the new "soundfile" interface can do so by `torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False` before changing the backend to "soundfile".
      
      In 0.8.0 release, the "soundfile" backend will use this interface by default, and users can still use the legacy one with `torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = True`. In 0.9.0, the legacy interface is removed and `torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE` flag will be eventually removed.
      2c723e8c
    • moto's avatar
      Add ConvTasNet model (#920) · 8e370559
      moto authored
      8e370559
  4. 24 Sep, 2020 1 commit
    • Vincent QB's avatar
      Example pipeline with wav2letter (#632) · 9c274228
      Vincent QB authored
      * example pipeline, initial commit.
      
      * removing notebook conversion artifacts.
      
      * remove extra comments. lint.
      
      * addressing some feedback.
      
      * main function.
      
      * defining args in function.
      
      * refactor.
      
      * lint.
      
      * checkpoint.
      
      * clean version to start with.
      
      * adding more parameters.
      
      * lint.
      
      * cleaning full version.
      
      * check for not None.
      
      * cleaning.
      
      * back -l 160
      
      * black.
      
      * fix runtime error.
      
      * removing some print statements.
      
      * add help to command line. add progress bar option.
      
      * grouping librispeech-specific transform in subclass.
      
      * typo.
      
      * fix concatenation.
      
      * typo.
      
      * black. tqdm.
      
      * missing transpose.
      
      * renaming variables.
      
      * sum cer and wer
      
      * clip norm.
      
      * second signal handler removed.
      
      * cosmetic.
      
      * default to no checkpoint.
      
      * remove non_blocking.
      
      * adadelta works better than sgd.
      
      * anomaly detection.
      
      * moving dataset to separate file.
      
      * lint.
      
      * move to separate module: languagemodel, decoder, metric.
      
      * flush=True.
      
      * renaming decoder.
      
      * CTC Decoders.
      
      * flush=True.
      
      * pass length for viterbi decoder.
      
      * progress bar. relative path.
      
      * generalize transition matrix to n-gram. progress bar.
      
      * choice of decoder.
      
      * collate func.
      
      * remove signal handling.
      
      * adding distributed.
      
      * lint.
      
      * normalize w/r to length of dataset, and w/r to total number characters.
      
      * relative cer/wer.
      
      * clip grad parameter. momentum back but not yet used.
      
      * Switch to SGD.
      
      * choice of optimizer.
      
      * scheduler.
      
      * move to utils file.
      
      * metric log, and utils file.
      
      * rename metric_logger.
      
      * stderr and stdout. simpler metric logger.
      
      * replace by logging.
      
      * adding time measurement in metric logger.
      
      * fix duplicate name. remove tqdm. keep track of epoch instead and iteration instead.
      
      * rename main file. and add readme.
      
      * refactor distributed.
      
      * swap example and output in readme.
      
      * remove time from logger.
      
      * check non-empty tensor input.
      
      * typo in variable name and log update.
      
      * typo.
      
      * compute cer/wer in training too.
      
      * typo.
      
      * add back slurm signal capture to resubmit job.
      
      * update levinstein distance.
      
      * adding tests for levenstein distance.
      
      * record error rate during iteration.
      
      * metric logger using setitem.
      
      * moving signal break to end of loop and return loss so far.
      
      * typo.
      
      * add citation.
      
      * change default to best run.
      
      * adding other experiment with decoders.
      
      * remove other decoders than greedy.
      
      * Revert "remove other decoders than greedy."
      
      This reverts commit fb114372e89e317bf48d0b1f846c60bca8efe1ac.
      
      * changing name of folfder.
      
      * remove other decoders, and unused dataset class.
      
      * rename functions to align with other pipeline.
      
      * pick which parts to train with.
      
      * adding specaugment to validation. note that caching prevents randomization from happening in validation.
      
      * updating readme.
      
      * typo in metric logging.
      
      * Revert "typo in metric logging."
      
      This reverts commit acac245eec250f61d2039a67933d3c01f1975ce9.
      
      * Revert "Revert "typo in metric logging.""
      
      This reverts commit 2c80d9691ed401044da734c40df3715dba92d0db.
      
      * update metric logger.
      
      * simplify metric logger implementation.
      
      * use json dumps instead.
      
      * group metric together.
      
      * move function.
      
      * lint.
      
      * quick summary of files in folder.
      
      * pass clip_grad explictly.
      
      * typo in default dataset name.
      
      * option to disable logger.
      
      * ergonomics for distributed.
      
      * reminder about signal handler.
      
      * minor refactor of main in main.
      
      * replace by not_main_rank.
      
      * raising error if parameter not supported.
      
      * move model before invoking DDP.
      
      * changing log level. using python 2 style string for logging.
      
      * dynamic augmentations.
      
      * update metric log.
      
      batch cer/wer metric. correct typo in time. adding other dimensions in metric.
      
      * save learning rate even if function not available.
      
      * add type option to model.
      
      * add adamw.
      
      * reduce lr on validation step or training step.
      
      * specify hop-length and win-length.
      
      * normalize option.
      
      * rename parameter.
      
      * add dropout and tweak to number of channels.
      
      * copy model in pipeline folder for experimentation.
      
      * fix scheduler stepping.
      
      * fix input_type and num_features.
      
      * waveform mode changes shape more.
      
      * adding best character error rate with current implementation of model with mfcc.
      
      * comment update.
      
      * remove signal. remove custom wav2letter model.
      
      * remove comment.
      
      * simpler import with pandas.
      9c274228
  5. 23 Sep, 2020 1 commit
  6. 21 Sep, 2020 1 commit
  7. 18 Sep, 2020 1 commit
  8. 15 Sep, 2020 4 commits
  9. 11 Sep, 2020 1 commit
    • sdarkhovsky's avatar
      Fix interactive asr (#900) · b6a61c3f
      sdarkhovsky authored
      * updated the build_generator call to include the models argument
      
      * fixed RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same
      b6a61c3f
  10. 03 Sep, 2020 1 commit
  11. 28 Aug, 2020 1 commit
  12. 24 Aug, 2020 1 commit
  13. 23 Aug, 2020 1 commit
  14. 20 Aug, 2020 1 commit
  15. 19 Aug, 2020 1 commit
  16. 12 Aug, 2020 2 commits
  17. 11 Aug, 2020 1 commit
  18. 07 Aug, 2020 4 commits
  19. 06 Aug, 2020 1 commit
  20. 05 Aug, 2020 2 commits
    • Eli Uriegas's avatar
    • 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
  21. 04 Aug, 2020 2 commits
    • moto's avatar
      Set zip_safe = False to disable egg installation (#842) · 3b055890
      moto authored
      Currently `setuptools` assumes that torhcaudio is zip safe and performs
      egg (zip) installation when `python setup.py install` (or `pip install .`).
      
      When `torchaudio` loads extension module written with Torchscript, 
      the corresponding loading function requires the `so` file to be present as 
      an actual file, and this does not work well with egg installation.
      
      This CC fixes this by setting `zip_safe=False` in setup.py and disable egg
      installation, so that `python setup.py install` installs uncompressed files
      with regular directory structure.
      3b055890
    • moto's avatar
      Fix skipIfNoExtension (#849) · 11b00d5c
      moto authored
      11b00d5c
  22. 03 Aug, 2020 1 commit
  23. 31 Jul, 2020 3 commits
    • moto's avatar
      [CI] Make *nix unit test fail if C++ extension is not available (#847) · 3bab2b29
      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.
      3bab2b29
    • moto's avatar
      Fix import order to supress the setuptools warning; (#846) · 7f99271d
      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.
      ```
      7f99271d
    • moto's avatar
      Update test/README.md (#843) · 9c56d88d
      moto authored
      * Update links
      * Add how to run tests
      * Update asset info
      9c56d88d
  24. 30 Jul, 2020 2 commits
  25. 29 Jul, 2020 3 commits
    • moto's avatar
      Run tests in parallel with pytest-xdist (#807) · 1ecbc249
      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 😾
      1ecbc249
    • moto's avatar
      Move BACKEDNS and BACKENDS_MP3 to test module from common_utils (#831) · 8fdb8df2
      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.
      8fdb8df2
    • moto's avatar
      Fix seed of yesno dataset test (#832) · ec2323ce
      moto authored
      ec2323ce