Skip to content
Snippets Groups Projects
Commit 6b175711 authored by hainan-xv's avatar hainan-xv Committed by Daniel Povey
Browse files

[scripts] Fix RNNLM training script problem (chunk_length was ignored) (#2969)

parent b9d4b766
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ while [ $x -lt $num_iters ]; do
--read-rnnlm="$src_rnnlm" --write-rnnlm=$dir/$dest_number.raw \
--read-embedding=$dir/${embedding_type}_embedding.$x.mat \
--write-embedding=$dir/${embedding_type}_embedding.$dest_number.mat \
"ark,bg:cat $repeated_data | rnnlm-get-egs --srand=$num_splits_processed $train_egs_args - ark:- |" || touch $dir/.train_error &
"ark,bg:cat $repeated_data | rnnlm-get-egs --chunk-length=$chunk_length --srand=$num_splits_processed $train_egs_args - ark:- |" || touch $dir/.train_error &
done
wait # wait for just the training jobs.
[ -f $dir/.train_error ] && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment