-
Notifications
You must be signed in to change notification settings - Fork 261
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
Erros compilation #48
Comments
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. |
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 |
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: |
syl22-00, verything works, but is sensitive high. how to reduce the threshold, please tell me? |
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. |
Assuming there is issue left. |
Help me, please! Errors (toString) when compiling with -DHMM_BASE, -DHMM_FOLDERS. Output file size pocketsphinx.js - 800Kb
The text was updated successfully, but these errors were encountered: