-
Notifications
You must be signed in to change notification settings - Fork 160
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
Writing features as 'ark,scp' by pipeline with 'copy-feats' #45
Comments
i wanna ask the the same thing, here is my code snippet and errors: `import numpy as np ark_scp_output = 'ark:| copy-feats ark:- ark,scp:ark:/home/jensen/Document/feats.ark,scp:/home/jensen/Document/feats.scp' with kaldi_io.open_or_fd(ark_scp_output, 'w') as f: [ Stack-Trace: ] kaldi::KaldiFatalErrorException in thread Thread-1: During handling of the above exception, another exception occurred: Traceback (most recent call last): |
@jensen199105
Using this strategy you will be able to create the ark file and the associated scp file. |
Hi,
![error_kaldi_io](https://user-images.githubusercontent.com/45421256/80919471-4f050400-8d6a-11ea-9ae9-bfbba931bec4.PNG)
I can't correctly execute the example you provided to write the .ark and .scp files at the same time.
If instead I create the ark file and use copy-feats to create its copy and the attached .scp file, I don't encounter any problems.
The text was updated successfully, but these errors were encountered: