nttcslab-sp / kaldiio

A pure python module for reading and writing kaldi ark files
Other
248 stars 35 forks source link

Nnet example files #55

Open ExarchD opened 2 years ago

ExarchD commented 2 years ago

I'm trying to access the features that are used for kaldi's dnn model. It looks like these matrices stored as a different type of file (Nnet3Eg, NumIo). I don't see that these are supported. Would it be non-trivial to read these?

kamo-naoyuki commented 2 years ago

Actually, it's easy, but I don't have the motivation for me now.

Our module doesn't support it, but the following python module supports it: https://github.com/funcwj/kaldi-python-io/blob/a7191049d79beabffab7256327214d6d875ec7b5/kaldi_python_io/_io_kernel.py#L393-L447