Coder Social home page Coder Social logo

Comments (4)

mathquis avatar mathquis commented on July 18, 2024

I would try to add the path to libfst.10.so to ldconfig:
echo "/home/classiii/kaldi/tools/openfst-1.6.7/lib" >> /etc/ld.so.conf && ldconfig

Maybe do the same for all the other libs if required.

from node-kaldi-online-nnet3-decoder.

tsxce avatar tsxce commented on July 18, 2024

Thanks! I solved the problem above.
But here is a new question, did you meet before?

-decoder-master$ node test.js 61-70968-0001.wav 
EndpointRule {}
EndpointRule {}
EndpointRule {}
EndpointRule {}
EndpointRule {}
LOG ([5.5.677~1-99d1]:OnlineNNet3Model():src/nnet3.cpp:79) Loading feature configuration...
LOG ([5.5.677~1-99d1]:OnlineNNet3Model():src/nnet3.cpp:103) Loading decodable configuration...
LOG ([5.5.677~1-99d1]:OnlineNNet3Model():src/nnet3.cpp:118) Loading acoustic model: ./resources/model/final.mdl
node: symbol lookup error: /opt/intel/mkl/lib/intel64/libmkl_vml_avx2.so: undefined symbol: mkl_serv_getenv

from node-kaldi-online-nnet3-decoder.

mathquis avatar mathquis commented on July 18, 2024

It looks like your Kaldi libraries were compiled using IntelMKL instead of ATLAS.
https://kaldi-asr.org/doc/matrixwrap.html

At least 2 options:

  • Preload the IntelMKL libraries using LD_PRELOAD
  • Compile the Kaldi libraries using ATLAS instead (something like ./configure --shared --mathlib=ATLAS in /kaldi/src dir)

Note there may also be other alternatives :)

Hope this helps.

from node-kaldi-online-nnet3-decoder.

mathquis avatar mathquis commented on July 18, 2024

@xiechen0692 Did you manage to make it work? Can I close this issue?

from node-kaldi-online-nnet3-decoder.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.