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

Missing tree files #3

Open
dpny518 opened this issue Aug 6, 2020 · 5 comments
Open

Missing tree files #3

dpny518 opened this issue Aug 6, 2020 · 5 comments

Comments

@dpny518
Copy link

dpny518 commented Aug 6, 2020

File "steps/libs/nnet3/train/chain_objf/acoustic_model.py", line 378, in check_for_required_files
raise Exception('Expected {0} to exist.'.format(file))
Exception: Expected exp/chain/tri6b_tree/ali.1.gz to exist.

https://gitee.com/mirrors/kaldi/blob/master/egs/wsj/s5/steps/libs/nnet3/train/chain_objf/acoustic_model.py#L369

@zhaoyi2
Copy link
Owner

zhaoyi2 commented Aug 6, 2020

hi, you shell use steps/align_fmllr.sh to generate ali files, and copy ali files to tri6b_tree dir, or you can point the generated address of ali-files to tri6b_tree dir.
hope to solve your problem

@dpny518
Copy link
Author

dpny518 commented Aug 6, 2020

it is ok to use the new data to generate alignment files?

@zhaoyi2
Copy link
Owner

zhaoyi2 commented Aug 6, 2020

it is ok to use the new data to generate alignment files?

hi, new data is aligned through the GMM to provide a good starting point for the chain model. you can use the cvte GMM to generated alignment files without training your own GMM, of course you can train your GMM use your new data but need more time.

@dpny518
Copy link
Author

dpny518 commented Aug 6, 2020

it seems the alignment isn't really used in the train.py, it is just a check, would it be easier to add a touch $src_tree_dir/ali.1.gz just so it passes checks..we have the final tree already made

@zhaoyi2
Copy link
Owner

zhaoyi2 commented Aug 6, 2020

it seems the alignment isn't really used in the train.py, it is just a check, would it be easier to add a touch $src_tree_dir/ali.1.gz just so it passes checks..we have the final tree already made

i agree with you. i just checked the align_fmllr_lats.sh file, which contains the alignment operation.

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

No branches or pull requests

2 participants