New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating fisher_swbd nnet3/chain scripts: removing non-chain training… #2136
Conversation
… scripts, updating ivector training scripts,.etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks. some small comments.
@@ -112,8 +112,12 @@ srcdict=$srcdir/swb_ms98_transcriptions/sw-ms98-dict.text | |||
# assume swbd_p1_data_prep.sh was done already. | |||
[ ! -f "$srcdict" ] && echo "No such file $srcdict" && exit 1; | |||
|
|||
rm -f $dir/lexicon0.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like using -f
to make rm quiet. do rm with 2>/dev/null
.
cp $srcdict $dir/lexicon0.txt || exit 1; | ||
patch <local/dict.patch $dir/lexicon0.txt || exit 1; | ||
chmod +x $srcdict $dir/lexicon0.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't make sense to me. why make them executable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I meant +w. will fix
@xiaohui-zhang will do |
… scripts, updating ivector training scripts,.etc. @GaofengCheng please re-run and check in your latest chain model training scripts on top of this. Thanks.