Skip to content
Snippets Groups Projects
Commit 5d2a3090 authored by Dan Povey's avatar Dan Povey
Browse files

Usability fix for discriminative training with chain models, to disable un-supported option.

parent 3ecd425f
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,14 @@ echo $priors_right_context > $dir/info/priors_right_context
echo $frame_subsampling_factor > $dir/info/frame_subsampling_factor
if [ "$frame_subsampling_factor" != 1 ]; then
if $adjust_priors; then
echo "$0: setting --adjust-priors false since adjusting priors is not supported (and does not make sense) for chain models"
adjust_priors=false
fi
fi
(
if $adjust_priors && [ $stage -le 10 ]; then
if [ ! -f $dir/ali.scp ]; then
......
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