1. 21 Jun, 2023 1 commit
  2. 16 Jun, 2023 1 commit
    • Pingchuan Ma's avatar
      Add LRS3 data preparation (#3421) · 77cdd160
      Pingchuan Ma authored
      Summary:
      This PR adds a data preparation recipe that uses the ultra face detector to extract full-face video. The resulting video output is then used as input for training and evaluating RNNT-based models for automatic speech recognition (ASR), visual speech recognition (VSR), and audio-visual ASR (AV-ASR) on the LRS3 dataset.
      
      This PR also updates the word error rate (WER) for AV-ASR LRS3 models and improves the code readability.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3421
      
      Reviewed By: mpc001
      
      Differential Revision: D46799748
      
      Pulled By: mthrok
      
      fbshipit-source-id: 97af3feac0592b240617faaffa4c0ac8cef614a9
      77cdd160
  3. 15 Jun, 2023 1 commit
    • moto's avatar
      Update forced alignment tutorial (#3440) · 18601691
      moto authored
      Summary:
      * Fix backtrack visualization (the cooridnate was off-by-one.)
      * Add note about the simplification and the new align API
      * Explicitly handle SOS and EOS
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3440
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D46761282
      
      Pulled By: mthrok
      
      fbshipit-source-id: b0b6c9754674e8e23543e9f002e29b55102c92f8
      18601691
  4. 14 Jun, 2023 1 commit
  5. 13 Jun, 2023 2 commits
  6. 12 Jun, 2023 1 commit
  7. 09 Jun, 2023 3 commits
  8. 08 Jun, 2023 8 commits
  9. 07 Jun, 2023 2 commits
  10. 06 Jun, 2023 4 commits
  11. 05 Jun, 2023 1 commit
  12. 04 Jun, 2023 1 commit
  13. 03 Jun, 2023 1 commit
  14. 02 Jun, 2023 3 commits
    • moto's avatar
      [BC-Breaking] Remove compute_kaldi_pitch (#3368) · 5bbbb1d5
      moto authored
      Summary:
      This commit removes compute_kaldi_pitch function and the underlying Kaldi integration from torchaudio.
      
      Kaldi pitch function was added in a short period of time by integrating the original Kaldi implementation, instead of reimplementing it in PyTorch.
      
      The Kaldi integration employed a hack which replaces the base vector/matrix implementation of Kaldi with PyTorch Tensor so that there is only one blas library within torchaudio.
      
      Recently, we are making torchaudio more lean, and we don't see a wide adoption of kaldi_pitch feature, so we decided to remove them.
      
      See some of the discussion https://github.com/pytorch/audio/issues/1269
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3368
      
      Differential Revision: D46406176
      
      Pulled By: mthrok
      
      fbshipit-source-id: ee5e24d825188f379979ddccd680c7323b119b1e
      5bbbb1d5
    • moto's avatar
      Update data augmentation tutorial (#3375) · 2ba36b47
      moto authored
      Summary:
      Replace sox_effects with `torchaudio.io.AudioEffector`
      
      1. To show case the new and better feature
      2. To prepare for the upcoming removal of file-like support object
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3375
      
      Reviewed By: nateanl
      
      Differential Revision: D46379016
      
      Pulled By: mthrok
      
      fbshipit-source-id: 70f24b62494204949f327f6ac6c49f315c9ee315
      2ba36b47
    • Moto Hira's avatar
      Revert D46059199: [audio][PR] Use dlopen for FFmpeg · ab7a39f7
      Moto Hira authored
      Differential Revision:
      D46059199
      
      Original commit changeset: 4493a5fd8a4c
      
      Original Phabricator Diff: D46059199
      
      fbshipit-source-id: 71cde3f8cd870d1ad9114e3e87cdd1ba564441c0
      ab7a39f7
  15. 01 Jun, 2023 8 commits
    • moto's avatar
      Use dlopen for FFmpeg (#3353) · b14ced1a
      moto authored
      Summary:
      This commit changes the way FFmpeg extension is built and used.
      Instead of linking (LGPL) FFmpeg libraries to torchaudio at build time,
      It uses dlopen to search and link them at run time.
      
      For dlopen-ing, we use PyTorch's `at::DynamicLibrary` class, which provides
      portable wrapper.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3353
      
      Differential Revision: D46059199
      
      Pulled By: mthrok
      
      fbshipit-source-id: 4493a5fd8a4c802178d20276522f5334d637307d
      b14ced1a
    • moto's avatar
      [BC-breaking] Remove file-like object support from sox_io backend (#3035) · bc54ac8a
      moto authored
      Summary:
      This commit removes file-like obejct support so that we can remove custom patch
      
      The motivation and plan is outlined in https://github.com/pytorch/audio/issues/2950.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3035
      
      Reviewed By: hwangjeff
      
      Differential Revision: D44695647
      
      Pulled By: mthrok
      
      fbshipit-source-id: 13af0234e288c041bc7b490e1f967f85ce7eb8ec
      bc54ac8a
    • Omkar Salpekar's avatar
      [Nova] Deleting Remaining CircleCI jobs (#3399) · cc89f743
      Omkar Salpekar authored
      Summary:
      This job completely deletes the CircleCI `config.yml`. Here is what was remaining in the config at the point of deletion:
      
      Used Jobs:
      * **Lint** - Now running on Nova - see https://github.com/pytorch/audio/actions/runs/5144082942 for an example run on the latest PR in trunk
      * **CircleCI Consistency** - Not needed anymore now if there is no CCI config.
      
      Unused Jobs:
      * **build-ffmpeg-$OS** - For the build jobs, we are already building FFMPEG from source as part of the Nova workflows.
      * **download-third-parties** - This is caching. We currently do not have caching in Nova jobs, but atalman is working on adding support for this as a future optimization.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3399
      
      Reviewed By: mthrok
      
      Differential Revision: D46363921
      
      Pulled By: osalpekar
      
      fbshipit-source-id: 8abf5b0c1612c3492908fb2f5797e6b0a3c70766
      cc89f743
    • moto's avatar
      Fix style issue (#3398) · c7ac1aff
      moto authored
      Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/3398
      
      Reviewed By: nateanl
      
      Differential Revision: D46354862
      
      Pulled By: mthrok
      
      fbshipit-source-id: b86dcdfeff8ed9db87b0b78eca20f6f18117e97e
      c7ac1aff
    • moto's avatar
      Fix apply_codec to use named file (#3397) · 1dfac469
      moto authored
      Summary:
      Follow-up https://github.com/pytorch/audio/issues/3386 The intended change was to use path of temporary file, instead of file-like object
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3397
      
      Reviewed By: hwangjeff
      
      Differential Revision: D46346189
      
      Pulled By: mthrok
      
      fbshipit-source-id: 44da799c6587bcb63a118a6313b7299bad742a40
      1dfac469
    • moto's avatar
      Refactor arg mapping in ffmpeg save function (#3387) · b99e5f46
      moto authored
      Summary:
      The arguments of TorchAudio's save function ("format", "bits_per_sample" and "encoding")
      are not one-to-one mapping to the arguments of FFmpeg encoding.
      
      For example, to use vorbis codec, FFmpeg expects "ogg" container/extension with "vorbis"
      encoder. It does not recognize "vorbis" extension like TorchAudio (libsox) does.
      
      This commit refactors the logic to parse/map the arguments.
      
      As a result it now properly works with vorbis and mp3 extension.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3387
      
      Reviewed By: hwangjeff
      
      Differential Revision: D46328787
      
      Pulled By: mthrok
      
      fbshipit-source-id: 36f993952a062bfec58a8b51be6aa86297571f90
      b99e5f46
    • moto's avatar
      Update and deprecate apply_codec function (#3386) · d6dd497c
      moto authored
      Summary:
      To prepare for the upcoming removal of file-like object support from sox_io backend,
      this commit changes apply_codec function to use tempfile.
      
      `apply_codec` function is now deprecated and users are encourated to use `torchaudio.io.AudioEffector`.
      We will not remove the function itself, but will remove the entry from the doc.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3386
      
      Reviewed By: hwangjeff
      
      Differential Revision: D46330610
      
      Pulled By: mthrok
      
      fbshipit-source-id: 3071bdefa05b4cbb9f00629bef50f0981eae89b4
      d6dd497c
    • Omkar Salpekar's avatar
      Delete CCI Linux and MacOS Unittest Jobs (#3391) · d5d94b7e
      Omkar Salpekar authored
      Summary:
      Deprecates the Linux and MacOS Unittest jobs now that they've been running on Nova for over a week.
      
      Aside: There was also a stylecheck job that was dependent on the Linux Unittest job. I also put up https://github.com/pytorch/audio/pull/3390 to move that stylecheck job to Nova. I'm happy to reintroduce the CCI stylecheck job standalone in CCI if we want the Nova version to run on main for a week.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3391
      
      Reviewed By: mthrok
      
      Differential Revision: D46324198
      
      Pulled By: osalpekar
      
      fbshipit-source-id: 2115748e153c5dee1a38db2b6230acebc4f56927
      d5d94b7e
  16. 31 May, 2023 2 commits
    • Omkar Salpekar's avatar
      [Nova] Stylechecks on Nova (#3390) · f7cb6c68
      Omkar Salpekar authored
      Summary:
      Introducing the stylecheck job on Nova. It seems like it is failing on trunk, but the functionality of this job itself is working and it fails with the same error as it does on trunk with CCI.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3390
      
      Reviewed By: mthrok
      
      Differential Revision: D46324223
      
      Pulled By: osalpekar
      
      fbshipit-source-id: 1324202e53569d610559ef6f1b90cb5c364e6909
      f7cb6c68
    • Omkar Salpekar's avatar
      [Nova] Lint on GHA (#3341) · 5d0697bc
      Omkar Salpekar authored
      Summary:
      See title. If all is well, we can deprecate the CCI job in a few days.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3341
      
      Reviewed By: mthrok
      
      Differential Revision: D46324265
      
      Pulled By: osalpekar
      
      fbshipit-source-id: bc706c6ae4285d4085dc5f0223ea41d8fc290f1c
      5d0697bc