Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YiwenShaoStephen committed Aug 26, 2020
1 parent 553f208 commit 79c1b7c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions examples/wsj/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,14 @@ fi

if [ ${stage} -le 6 ]; then
echo "Stage 6: Dumping Posteriors for Test Data"
path=$dir/$checkpoint
log_file=$dir/logs/dump_$test_set.log
result_file=$test_set/posteriors.ark
mkdir -p $dir/$test_set
$cuda_cmd $log_file test.py \
--test data/test_${type}${unit}.json \
--exp $dir \
--model model_best.pth.tar \
--results $result_file
python3 test.py \
--test data/test_${type}${unit}.json \
--model model_best.pth.tar \
--results $result_file \
--exp $dir 2>&1 | tee $log_file
fi

if [ ${stage} -le 7 ]; then
Expand Down

0 comments on commit 79c1b7c

Please sign in to comment.