Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compare mfcc failure: libkaldi-base.so: cannot open shared object file: No such file or directory #319

Open
Consulting4J opened this issue Feb 21, 2024 · 0 comments

Comments

@Consulting4J
Copy link

Consulting4J commented Feb 21, 2024

compare mfcc failure

steps to reproduce this issue:

pip install whl [v0.2.2] from https://github.com/pykaldi/pykaldi/releases/tag/v0.2.2
Requirement already satisfied: pykaldi in /home/xxx/anaconda3/envs/pytorch/lib/python3.11/site-packages (0.2.2)

export KALDI_DIR=/mnt/xxx/xxx/kaldi-linux-x86_64
~/pykaldi/examples/scripts/kaldi-style-executables/compute-mfcc-feats/compare.sh

error log:

/mnt/xxx/xxx/kaldi-linux-x86_64/src/featbin/compute-mfcc-feats scp:/tmp/temporary-file.ixa5Qsdr.scp ark:-
python compute-mfcc-feats.py scp:/tmp/temporary-file.ixa5Qsdr.scp ark:-
/mnt/xxx/xxx/kaldi-linux-x86_64/src/featbin/compute-mfcc-feats scp:/tmp/temporary-file.ixa5Qsdr.scp ark:-
LOG (compute-mfcc-feats[5.5.1126~2-8c451]:main():compute-mfcc-feats.cc:185) Done 1 out of 1 utterances.
Traceback (most recent call last):
File "/home/xxx/pykaldi/examples/scripts/kaldi-style-executables/compute-mfcc-feats/compute-mfcc-feats.py", line 6, in
from kaldi.feat.mfcc import Mfcc, MfccOptions
File "/home/xxx/anaconda3/envs/pytorch/lib/python3.11/site-packages/kaldi/init.py", line 14, in
from . import base
File "/home/xxx/anaconda3/envs/pytorch/lib/python3.11/site-packages/kaldi/base/init.py", line 1, in
from ._kaldi_error import *
ImportError: libkaldi-base.so: cannot open shared object file: No such file or directory

*** PyKaldi output is different from Kaldi output! See the diff below.***

Binary files /dev/fd/63 and /dev/fd/62 differ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant