Skip to content

Commit

Permalink
fix lm values load
Browse files Browse the repository at this point in the history
  • Loading branch information
wasertech committed Jun 4, 2022
1 parent b1c5249 commit 13ffd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STT/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ train.sh

evaluate_lm.sh

if [ -f "/mnt/lm/opt_lm.yml" -a -z "${LM_ALPHA}" -a -z "${LM_BETA}" ]; then
if [ -f "/mnt/lm/opt_lm.yml" -a "${LM_ALPHA}" = "0.0" -a "${LM_BETA}" = "0.0" ]; then
export LM_ALPHA=$(cat /mnt/lm/opt_lm.yml | shyaml get-value lm_alpha)
export LM_BETA=$(cat /mnt/lm/opt_lm.yml | shyaml get-value lm_beta)

Expand Down

0 comments on commit 13ffd1b

Please sign in to comment.