зеркало из https://github.com/mozilla/kaldi.git
sandbox/language_id: Fixing typo in run_logistic_regression.sh
git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/language_id@3742 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Родитель
63368fd6c2
Коммит
4ebba0a69f
|
@ -1,3 +1,3 @@
|
|||
--max-steps=20
|
||||
--normalizer=0.002
|
||||
--normalizer=0.0006
|
||||
--verbose=2
|
||||
|
|
|
@ -76,17 +76,17 @@ compute-wer --text ark:<(utils/remove_dialect.pl data/train/utt2lang) \
|
|||
|
||||
|
||||
logistic-regression-eval $model_rebalanced \
|
||||
scp:exp/test/ivector.scp ark,t:- | \
|
||||
scp:exp/ivectors_test/ivector.scp ark,t:- | \
|
||||
awk '{max=$3; argmax=3; for(f=3;f<NF;f++) { if ($f>max)
|
||||
{ max=$f; argmax=f; }}
|
||||
print $1, (argmax - 3); }' | \
|
||||
utils/int2sym.pl -f 2 exp/ivectors_train/languages.txt >exp/test/output
|
||||
utils/int2sym.pl -f 2 exp/ivectors_train/languages.txt >exp/ivectors_test/output
|
||||
|
||||
|
||||
# someone needs to extend this to run on the dev data.
|
||||
|
||||
compute-wer --text ark:<(utils/remove_dialect.pl data/test/utt2lang)\
|
||||
ark:exp/test/output
|
||||
ark:exp/ivectors_test/output
|
||||
# compute-wer --text ark:/dev/fd/63 ark:exp/test/output
|
||||
# %WER 58.83 [ 3958 / 7527, 0 ins, 0 del, 3958 sub ]
|
||||
# %SER 58.83 [ 3958 / 7527 ]
|
||||
|
|
Загрузка…
Ссылка в новой задаче