GithubHelp home page GithubHelp logo

Erros compilation about pocketsphinx.js HOT 6 CLOSED

 avatar commented on June 20, 2024
Erros compilation

from pocketsphinx.js.

Comments (6)

syl22-00 avatar syl22-00 commented on June 20, 2024

Please provide more context and copy/paste code rather than put a screenshot.

I am guessing your issue is because you are trying to package large files which are over the limit (see nodejs/node#3175). If that's the case, there might be ways to reduce the file sizes. Anyways, please provide steps to reproduce your issue.

from pocketsphinx.js.

 avatar commented on June 20, 2024

cmake -G "MinGW Makefiles" -DEMSCRIPTEN=1 -DCMAKE_TOOLCHAIN_FILE=Emscripten.cmake -DHMM_BASE=models -DHMM_FOLDERS=model ..

Size folder "model" - 70Mb

Model: feat.params -1 Kb, feature_transform - 5 Kb, mdef - 7 Mb, means - 30 MB, mixture_weights - 1 Mb, noisedict - 1 Kb, transition_matrices - 3 Kb, variances - 30 Mb

from pocketsphinx.js.

syl22-00 avatar syl22-00 commented on June 20, 2024

With such a large model, you'd better put it outside the main JavaScript file. I guess the file is too large that's why packaging fails. It is explained here:
https://github.com/syl22-00/pocketsphinx.js#ii-package-model-files-outside-the-main-javascript

from pocketsphinx.js.

 avatar commented on June 20, 2024

syl22-00, verything works, but is sensitive high. how to reduce the threshold, please tell me?

from pocketsphinx.js.

syl22-00 avatar syl22-00 commented on June 20, 2024

What threshold are you talking about? Again, you should provide context and steps to reproduce your issues if you want somebody to be able to help you.

from pocketsphinx.js.

syl22-00 avatar syl22-00 commented on June 20, 2024

Assuming there is issue left.

from pocketsphinx.js.

Related Issues (20)

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.