Open danoneata opened 6 years ago
One more small thing: on the same branch, the run_lstm_1{d,e}
scripts from egs/swbd/s5c/local/rnnlm/tuning
have an inconsistency between comments and code:
$ grep 50 run_lstm_1{d,e}.sh
run_lstm_1d.sh: # hold out one in every 500 lines as dev data.
run_lstm_1d.sh: cat $text | grep ^sw | cut -d ' ' -f2- | awk -v text_dir=$text_dir '{if(NR%50 == 0) { print >text_dir"/dev.txt"; } else {print;}}' >$text_dir/swbd.txt
run_lstm_1e.sh: # hold out one in every 500 lines as dev data.
run_lstm_1e.sh: cat $text | grep ^sw | cut -d ' ' -f2- | awk -v text_dir=$text_dir '{if(NR%50 == 0) { print >text_dir"/dev.txt"; } else {print;}}' >$text_dir/swbd.txt
Thanks. Fixed.
BTW you do not need to fork a fork -- I think you can just first clone your fork, and do something like
git checkout -b a-branch-for-bug-fix git pull another-repository buggy-branch
then you can push the changes to the branch-for-bug-fix and create a PR there.
On Thu, Nov 9, 2017 at 8:07 AM, Dan Oneata notifications@github.com wrote:
One more small thing: on the same branch, the run_lstm_1{d,e} scripts from egs/swbd/s5c/local/rnnlm/tuning have an inconsistency between comments and code:
$ grep 50 run_lstm_1{d,e}.sh run_lstm_1d.sh: # hold out one in every 500 lines as dev data. run_lstm_1d.sh: cat $text | grep ^sw | cut -d ' ' -f2- | awk -v text_dir=$text_dir '{if(NR%50 == 0) { print >text_dir"/dev.txt"; } else {print;}}' >$text_dir/swbd.txt run_lstm_1e.sh: # hold out one in every 500 lines as dev data. run_lstm_1e.sh: cat $text | grep ^sw | cut -d ' ' -f2- | awk -v text_dir=$text_dir '{if(NR%50 == 0) { print >text_dir"/dev.txt"; } else {print;}}' >$text_dir/swbd.txt
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hainan-xv/kaldi/issues/17#issuecomment-343149088, or mute the thread https://github.com/notifications/unsubscribe-auth/AFMCDrzvrQUGoR-rPIZUE_SSEvDQs5Urks5s0vkegaJpZM4QXmgF .
--
Hello,
Here are some small fixes for the
rnnlm-rescoring
branch:sys
module to theargv
variableI couldn't create a pull request, because I couldn't fork your repository as I already forked the main Kaldi repository; so I'm submitting below the diff patch.
Hope this helps and thanks for making this available.