Skip to content

Commit

Permalink
[scripts] Update to decode_semisup.sh (copy input model) (#2425)
Browse files Browse the repository at this point in the history
  • Loading branch information
vimalmanohar authored and danpovey committed May 15, 2018
1 parent ff0da26 commit f8b678a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion egs/wsj/s5/steps/nnet3/decode_semisup.sh
Expand Up @@ -123,6 +123,9 @@ if [ -f $srcdir/frame_subsampling_factor ]; then
frame_subsampling_opt="--frame-subsampling-factor=$(cat $srcdir/frame_subsampling_factor)"
fi

# Copy the model as it is required when generating egs
cp $model $dir/ || exit 1

if [ $stage -le 1 ]; then
$cmd --num-threads $num_threads JOB=1:$nj $dir/log/decode.JOB.log \
nnet3-latgen-faster$thread_string $ivector_opts $frame_subsampling_opt \
Expand All @@ -138,7 +141,6 @@ if [ $stage -le 1 ]; then
$graphdir/HCLG.fst "$feats" "$lat_wspecifier" || exit 1;
fi


if [ $stage -le 2 ]; then
if ! $skip_diagnostics ; then
[ ! -z $iter ] && iter_opt="--iter $iter"
Expand Down

0 comments on commit f8b678a

Please sign in to comment.