Skip to content
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

added utils/combine_ali_dirs.sh (fixes #553). #725

Merged
merged 1 commit into from
May 19, 2016

Conversation

xiaohui-zhang
Copy link
Contributor

No description provided.

@vijayaditya
Copy link
Contributor

@vimalmanohar could you please review.

done

for f in final.mdl tree cmvn_opts splice_opts num_jobs $extra_files; do
if [ ! -f $first_src/$f ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

not all of these files are required in all recipes, e.g. I'm not sure that splice_opts is required in nnet3. I would just assume this whole list is optional, and add in whatever you can think of here that we might want to copy over, including final.mat and subsampling_factor [just off the top of my head.]

@danpovey
Copy link
Contributor

danpovey commented May 1, 2016

@vijayaditya and @vimalmanohar, I think you were reviewing this? Is it good to commit?

@vimalmanohar
Copy link
Contributor

I think it looks good to commit.

. parse_options.sh || exit 1;

if [[ $# -lt 3 ]]; then
echo "Usage: $0 [options] <ref-data-dir> <dest-ali-dir> <src-ali-dir1> <src-ali-dir2> ..."
Copy link
Contributor

@danpovey danpovey May 2, 2016

Choose a reason for hiding this comment

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

Just call this <data> and in the code call it data, not ref_data_dir. This is the normal pattern; in some sense, it's always for reference.

@vijayaditya
Copy link
Contributor

@xiaohui-zhang Is this ready for review ?

@danpovey
Copy link
Contributor

@xiaohui-zhang, please have a look at this. I think you didn't address my latest comments.

@xiaohui-zhang
Copy link
Contributor Author

sorry! will do it soon.
On May 18, 2016 6:33 PM, "Daniel Povey" notifications@github.com wrote:

@xiaohui-zhang https://github.com/xiaohui-zhang, please have a look at
this. I think you didn't address my latest comments.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#725 (comment)

@xiaohui-zhang
Copy link
Contributor Author

done

utils/split_data.sh $data $num_jobs || exit 1;
echo $num_jobs > $dest/num_jobs || exit 1

echo "$0: spliting the alignments to appropriate chunks according to the reference utt2spk files."
Copy link
Contributor

Choose a reason for hiding this comment

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

misspelled splitting

@xiaohui-zhang
Copy link
Contributor Author

fixed

@danpovey
Copy link
Contributor

OK but please rebase into one commit.

@xiaohui-zhang
Copy link
Contributor Author

done

@danpovey danpovey merged commit ae5bff6 into kaldi-asr:master May 19, 2016
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.

4 participants