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

AssertionError: generateArchive does not exist in ['feat', 'cmvn', 'ali', 'fmllr']: fmllrMat #23

Open
kk-0160 opened this issue Jan 22, 2024 · 0 comments

Comments

@kk-0160
Copy link

kk-0160 commented Jan 22, 2024

はじめまして
私はexkaldiのexampleを動かそうとしており,スクリプト01から06を行いました.そして,python 07_train_sat.pyを実行したところ,下記のようなエラーが表示されます.解決策を教えていただけますでしょうか.お手数ですがご返信をいただけると嬉しいです.

(venv):~/exkaldi/example/TIMIT$ python 07_train_sat.py

Traceback (most recent call last):
File "07_train_sat.py", line 198, in
Load MFCC+CMVN feature.
Splice 3 frames.
Transform LDA feature
Estiminate the primary fMLLR transform matrixs
main()
File "07_train_sat.py", line 78, in main
fmllrTransMat = exkaldi.hmm.estimate_fMLLR_matrix(
File "/Python/venv/lib/python3.8/site-packages/exkaldi/hmm/hmm.py", line 1835, in estimate_fMLLR_matrix
return run_kaldi_commands_parallel(resources,cmdPattern,generateArchive="fmllrMat",archiveNames=names)
File "/Python/venv/lib/python3.8/site-packages/exkaldi/core/common.py", line 287, in run_kaldi_commands_parallel
declare.is_instances("generateArchive",generateArchive,["feat","cmvn","ali","fmllr"])
File "/Python/venv/lib/python3.8/site-packages/exkaldi/utils/declare.py", line 47, in inner
return func(*args,**kwargs)
File "/Python/venv/lib/python3.8/site-packages/exkaldi/utils/declare.py", line 199, in is_instances
assert obj in targetInstances,f"{name} does not exist in {targetInstances}: {obj}"
AssertionError: generateArchive does not exist in ['feat', 'cmvn', 'ali', 'fmllr']: fmllrMat

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

1 participant