Closed kazu-hama closed 4 years ago
Hi, I want to use the kaldiio library to read feats.scp, but when slices are included in feats.scp file, KALDI-command and kaldiio-function give different results.
This shell script(test.sh) reproduces the problem:
#!/bin/bash matrix-dim /path/to/test.ark:6[3:5] python3 -c 'import kaldiio; print(kaldiio.load_mat("/path/to/test.ark:6[3:5]").shape)'
Execution result:
$ test.sh matrix-dim /path/to/test.ark:6[3:5] 3 20 (2,20)
thanks.
Thanks. I didn't realize it. This is a fatal bug and fixed in the current version.
Thanks for your reply, it now work well.
Hi, I want to use the kaldiio library to read feats.scp, but when slices are included in feats.scp file, KALDI-command and kaldiio-function give different results.
This shell script(test.sh) reproduces the problem:
Execution result:
thanks.