Skip to content

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

@Consulting4J

Description

@Consulting4J

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions