File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -230,12 +230,14 @@ jobs:
230230 with :
231231 repository : cmusphinx/an4
232232 path : an4
233- - name : Train AN4 (installed )
233+ - name : Train AN4 (semi )
234234 run : |
235235 cd an4
236236 sphinxtrain -t an4 setup
237237 perl -i -pe 's/^(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
238238 perl -i -pe 's/^#(\$CFG_HMM_TYPE.*semi)/$1/' etc/sphinx_train.cfg
239+ perl -i -pe 's/(DENSITIES.*= )\d+/${1}16/' etc/sphinx_train.cfg
240+ perl -i -pe 's/(MAX_ITERATIONS.*= )\d+/${1}5/' etc/sphinx_train.cfg
239241 sphinxtrain run
240242 - name : Archive AN4 logs
241243 if : success() || failure()
@@ -265,12 +267,14 @@ jobs:
265267 with :
266268 repository : cmusphinx/an4
267269 path : an4
268- - name : Train AN4 (installed )
270+ - name : Train AN4 (PTM )
269271 run : |
270272 cd an4
271273 sphinxtrain -t an4 setup
272274 perl -i -pe 's/^(\$CFG_HMM_TYPE.*cont)/#$1/' etc/sphinx_train.cfg
273275 perl -i -pe 's/^#(\$CFG_HMM_TYPE.*ptm)/$1/' etc/sphinx_train.cfg
276+ perl -i -pe 's/(DENSITIES.*= )\d+/${1}16/' etc/sphinx_train.cfg
277+ perl -i -pe 's/(MAX_ITERATIONS.*= )\d+/${1}5/' etc/sphinx_train.cfg
274278 sphinxtrain run
275279 - name : Archive AN4 logs
276280 if : success() || failure()
You can’t perform that action at this time.
0 commit comments