We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638376b commit 04f9378Copy full SHA for 04f9378
egs/aishell/s10/chain/feat_dataset.py
@@ -15,7 +15,6 @@
15
import kaldi_pybind.nnet3 as nnet3
16
import kaldi
17
18
-from common import read_mat
19
from common import splice_feats
20
from model import get_chain_model
21
@@ -110,7 +109,7 @@ def __call__(self, batch):
110
109
for b in batch:
111
key, rxfilename = b
112
key_list.append(key)
113
- feat = read_mat(rxfilename)
+ feat = kaldi.read_mat(rxfilename).numpy()
114
feat_len = feat.shape[0]
115
output_len = (feat_len + self.frame_subsampling_factor -
116
1) // self.frame_subsampling_factor
0 commit comments