-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed8229a
commit 2413884
Showing
222 changed files
with
22,322 additions
and
11,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,28 +9,68 @@ on: | |
types: rebuild | ||
|
||
|
||
env: | ||
CACHE_NUMBER: 0 # increase to reset cache manually | ||
|
||
concurrency: | ||
group: run_tests-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- os: ubuntu-latest | ||
label: linux-64 | ||
prefix: /usr/share/miniconda3/envs/my-env | ||
|
||
#- os: macos-latest | ||
# label: osx-64 | ||
# prefix: /Users/runner/miniconda3/envs/my-env | ||
|
||
#- os: windows-latest | ||
# label: win-64 | ||
# prefix: C:\Miniconda3\envs\my-env | ||
|
||
name: ${{ matrix.label }} | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: "actions/checkout@v2" | ||
- uses: "actions/setup-python@v2" | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache MFA models | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-mfa-models | ||
with: | ||
python-version: "3.8" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox tox-gh-actions tox-conda twine build setuptools setuptools_scm[toml] wheel | ||
- name: sdist | ||
run: python setup.py sdist | ||
- name: Test with tox | ||
run: tox | ||
- name: "Upload coverage to Codecov" | ||
uses: "codecov/[email protected]" | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
path: | | ||
~/Documents/MFA | ||
- name: Setup Mambaforge | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniforge-variant: Mambaforge | ||
miniforge-version: latest | ||
activate-environment: my-env | ||
use-mamba: true | ||
- name: Set cache date | ||
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
file: ./coverage.xml | ||
fail_ci_if_error: true | ||
path: ${{ matrix.prefix }} | ||
key: ${{ matrix.label }}-conda-${{ hashFiles('environment.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }} | ||
id: cache | ||
|
||
- name: Update environment | ||
run: mamba env update -n my-env -f environment.yml | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
|
||
- name: Run tests | ||
shell: bash -l {0} | ||
run: pytest -x ./tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
:html_theme.sidebar_secondary.remove: | ||
|
||
{{ objname }} | ||
{{ underline }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
:html_theme.sidebar_secondary.remove: | ||
|
||
{{ objname }} | ||
{{ underline }} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
.. _changelog_2.1: | ||
|
||
************* | ||
2.1 Changelog | ||
************* | ||
|
||
2.1.0 | ||
===== | ||
|
||
- Drop support for SQLite as a database backend | ||
- Fixed a bug where TextGrid parsing errors would cause MFA to crash rather than ignore those files | ||
- Updated CLI to use :xref:`click` rather than argparse | ||
- Added :code:`--use_phone_model` flag for :code:`mfa align` and :code:`mfa validate` commands. See :ref:`phone_models` for more details. | ||
- Added :code:`--phone_confidence` flag for :code:`mfa validate` commands. See :ref:`phone_models` for more details. | ||
- Added modeling of :code:`cutoff` phones via :code:`--use_cutoff_model` which adds progressive truncations of the next word, if it's not unknown or a non-speech word (silence, laughter, etc). See :ref:`cutoff_modeling` for more details. | ||
- Added support for using :xref:`speechbrain`'s VAD model in :ref:`create_segments` | ||
- Overhaul and update :ref:`train_ivector` | ||
- Overhaul and update :ref:`diarize_speakers` | ||
- Added support for using :xref:`speechbrain`'s SpeakerRecognition model in :ref:`diarize_speakers` |
Oops, something went wrong.