how to view each mfcc matrix for each utterance?

235 views
Skip to first unread message

Wei Li

unread,
Jun 11, 2016, 2:00:22 AM6/11/16
to kaldi-help
Hello, all

After extracting MFCC using make_mfcc.sh, the mfcc matrix is stored in one ark file. Traditionally, we can use copy-feats to view ark file (convert it to text readable file), However, this ark file contains features of too many utterances, so I don't want to directly use copy-feats. So could you anyone tell me how to view one utterance's feature matrix from given ark file. 

Thanks
 

wbgl...@gmail.com

unread,
Jun 11, 2016, 11:26:40 AM6/11/16
to kaldi-help
if you give the scp only one utterance ,you will get the feature matrix of the utterance.
maybe you can write the scripts to deal with it.that is only the dict,and have the key and value.

在 2016年6月11日星期六 UTC+8下午2:00:22,Wei Li写道:

Daniel Povey

unread,
Jun 11, 2016, 1:30:06 PM6/11/16
to kaldi-help
The easiest way to view one utterance is to grep for it in the scp file, like
grep utt1 data/train/feat.scp
utt1 foo/bar/baz.ark:143143

and then you can view it in text form with copy-matrix, as in
copy-matrix --binary=false foo/bar/baz.ark:143143 -
> --
> You received this message because you are subscribed to the Google Groups
> "kaldi-help" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kaldi-help+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages