-
Notifications
You must be signed in to change notification settings - Fork 140
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
Failing worker when starting master and server #4
Comments
Hi, this message terminate called after throwing an instance of 'std::length_error' what(): vector::reserve tells that you have a problem with memory allocation. Some questions that you could investigate:
I think you don't need to build the image from Git. People have already used the image that is in the Docker hub and it worked. Please, try to answer these questions and tell me if it helped you... |
Hi, to answer 1&2:
I also assigned 2 processors to the virtual machine. Thanks! |
Could you please try to run docker with the memory allocation flag? I'm not sure, but I think it's the "-m" flag (Please, check the manual). If possible, try to set it to 4 GB. |
here is what I tried with no luck:
Just in case I'm using Docker 1.9.1 on a Win machine |
I built a small small model that may be useful just to test your setup. Please, download the attached file and untar it. You will find a really small model and a yaml file. Change the necessary lines in this yaml file according to your needs and try to run the docker with it. If it works, you will be able to test it with the wav file I sent in this tar.gz. Just an important point: I'm not worried about the accuracy of this model. I'm just trying to understand if your setup is ok... |
Thank you so much!
What should be my next steps to get the larger model working? thanks again! |
Well, the difference between this model and the other one you have tried is its size. You should investigate problems related to memory allocation in your docker setup ... maybe, you could try to open a big file in your docker and see if it helps you to find out what is happening. You can also try a smaller kaldi model, e.g. : https://github.com/alumae/kaldi-gstreamer-server/tree/master/test/models/english/voxforge/tri2b_mmi_b0.05 (with this yaml file: https://github.com/alumae/kaldi-gstreamer-server/blob/master/sample_worker.yaml) |
Hi,
Thank you for the image!
I have trouble going through the steps of testing namely starting the server inside the container.
When I do
I get the below in the worker.log:
I have tried increasing memory of the Virtual machine, and also building the image directly from the Git, but got the same result.
Could you please look into this?
thanks
The text was updated successfully, but these errors were encountered: