Simple MFCC extraction is failing
Just to keep track of this problem we discussed on email, I am opening this issue for possible future reference:
I tried to run the following script to extract MFCCs but it's not working.
./bin/python test.py
and the script test.py has following the content:
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
import pkg_resources
import bob.io.audio
import bob.kaldi
sample = pkg_resources.resource_filename(__name__,'bob/kaldi/test/data/sample16k.wav')
data = bob.io.audio.reader(sample)
mfcc = bob.kaldi.mfcc(data.load()[0], data.rate, normalization=False)
The error I am getting is:
Traceback (most recent call last):
File "test.py", line 10, in <module>
mfcc = bob.kaldi.mfcc(data.load()[0], data.rate, normalization=False)
File "/remote/idiap.svm/user.active/akomaty/work/bob_package_review/bob.kaldi/bob/kaldi/mfcc.py", line 81, in mfcc
pipe1 = Popen (cmd1, stdin=PIPE, stdout=PIPE, stderr=fnull)
File "/idiap/group/torch5spro/conda/envs/bob-2.6.2-py27_0/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/idiap/group/torch5spro/conda/envs/bob-2.6.2-py27_0/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory