Skip to content

Conversation

@vimalmanohar
Copy link
Contributor

Fix for a bug that occurs in certain cases.
Also fixes #2269

@vimalmanohar
Copy link
Contributor Author

This is ready to be merged.

Copy link
Contributor

@danpovey danpovey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple comments

for p in $garbage_phones; do
for affix in "" "_B" "_E" "_I" "_S"; do
for a in "" "_B" "_E" "_I" "_S"; do
echo "$p$affix"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't look right to me.


sad_nnet_dir=exp/segmentation${affix}/tdnn_stats_asr_sad_1a
sad_nnet_dir=$dir/tdnn_stats_asr_sad_1a
sad_opts="--extra-left-context 79 --extra-right-context 21 --frames-per-chunk 150 --extra-left-context-initial 0 --extra-right-context-final 0 --acwt 0.3"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could remove the comments if they are not relevant any more.
and you should probably explain where you got the "opts" from, e.g. do they need to match something else in another script?

@vimalmanohar
Copy link
Contributor Author

Fixed.

@danpovey
Copy link
Contributor

@olix20, can you please check if this resolves your problems?

@danpovey
Copy link
Contributor

I'm merging but @olix20, please let us know if you find further problems.

@danpovey danpovey merged commit 322f698 into kaldi-asr:master Mar 18, 2018
gorinars pushed a commit to gorinars/kaldi that referenced this pull request Mar 22, 2018
LvHang pushed a commit to LvHang/kaldi that referenced this pull request Apr 14, 2018
Skaiste pushed a commit to Skaiste/idlak that referenced this pull request Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

run_asr_segmentation.sh stage 2 makes train directory invalid

2 participants