Hi,
if you run the kaldi/run.sh script with newer kaldi version. you will get an error because extract-rows is removed from kaldi. A workaround is to use the following code instead:
extract-feature-segments --snip-edges=false "scp:$scp_file" $queries/$partition/intervals "ark,scp:$queries/$partition/mfcc.ark,$queries/$partition/mfcc.scp"
but "extract-feature-segments" takes start and end segments in seconds while "extract-rows" takes start and end index of the matrix.
you can do this by modifying get_intervals.py code. i didn't spend much time for changing, but here is the fast solution starting from line 62:
Hi, if you run the kaldi/run.sh script with newer kaldi version. you will get an error because extract-rows is removed from kaldi. A workaround is to use the following code instead:
extract-feature-segments --snip-edges=false "scp:$scp_file" $queries/$partition/intervals "ark,scp:$queries/$partition/mfcc.ark,$queries/$partition/mfcc.scp"
but "extract-feature-segments" takes start and end segments in seconds while "extract-rows" takes start and end index of the matrix.
you can do this by modifying get_intervals.py code. i didn't spend much time for changing, but here is the fast solution starting from line 62:
I hope it helps