Skip to content

Commit

Permalink
ci: speed up semi and ptm
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Oct 13, 2022
1 parent 6b5a724 commit b4ffeb0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,14 @@ jobs:
with:
repository: cmusphinx/an4
path: an4
- name: Train AN4 (installed)
- name: Train AN4 (semi)
run: |
cd an4
sphinxtrain -t an4 setup
perl -i -pe 's/^(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
perl -i -pe 's/^#(\$CFG_HMM_TYPE.*semi)/$1/' etc/sphinx_train.cfg
perl -i -pe 's/(DENSITIES.*= )\d+/${1}16/' etc/sphinx_train.cfg
perl -i -pe 's/(MAX_ITERATIONS.*= )\d+/${1}5/' etc/sphinx_train.cfg
sphinxtrain run
- name: Archive AN4 logs
if: success() || failure()
Expand Down Expand Up @@ -265,12 +267,14 @@ jobs:
with:
repository: cmusphinx/an4
path: an4
- name: Train AN4 (installed)
- name: Train AN4 (PTM)
run: |
cd an4
sphinxtrain -t an4 setup
perl -i -pe 's/^(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
perl -i -pe 's/^#(\$CFG_HMM_TYPE.*ptm)/$1/' etc/sphinx_train.cfg
perl -i -pe 's/(DENSITIES.*= )\d+/${1}16/' etc/sphinx_train.cfg
perl -i -pe 's/(MAX_ITERATIONS.*= )\d+/${1}5/' etc/sphinx_train.cfg
sphinxtrain run
- name: Archive AN4 logs
if: success() || failure()
Expand Down

0 comments on commit b4ffeb0

Please sign in to comment.