Skip to content

Commit 34ded7d

Browse files
Srikanth MADIKERIqindazhu
authored andcommitted
wsj/s5/steps/nnet3/chain2/train.sh: weightspecifier fixed, default max_param_change is 2.0
1 parent db74464 commit 34ded7d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

egs/wsj/s5/steps/nnet3/chain2/train.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ memory_compression_level=2 # Enables us to use larger minibatch size than we
1616
# (--> set to 0 if you have plenty of memory.
1717
dropout_schedule=
1818
srand=0
19-
max_param_change=1.0 # we use a smaller than normal default (it's normally
19+
max_param_change=2.0 # we use a smaller than normal default (it's normally
2020
# 2.0), because there are two models (bottom and top).
2121
use_gpu=yes # can be "yes", "no", "optional", "wait"
2222
print_interval=10
@@ -176,7 +176,7 @@ while [ $x -lt $num_iters ]; do
176176
for name in train heldout; do
177177
egs_opts=
178178
if $multilingual_eg; then
179-
weight_rspecifier=$egs_dir/${name}.weight.ark
179+
weight_rspecifier=$egs_dir/diagnostic_${name}.weight.ark
180180
[[ -f $weight_rspecifier ]] && egs_opts="--weights=ark:$weight_rspecifier"
181181
fi
182182
$cmd $gpu_cmd_opt $dir/log/diagnostic_${name}.$x.log \
@@ -199,7 +199,6 @@ while [ $x -lt $num_iters ]; do
199199
scp_index=${scp_indexes[$j]}
200200
frame_shift=${frame_shifts[$j]}
201201

202-
# not implemented yet
203202
egs_opts=
204203
if $multilingual_eg; then
205204
weight_rspecifier=$egs_dir/train.weight.$scp_index.ark

0 commit comments

Comments
 (0)