docker-kaldi-gstreamer-server icon indicating copy to clipboard operation
docker-kaldi-gstreamer-server copied to clipboard

not seeing any output

Open mariasmo opened this issue 7 years ago • 4 comments

Hi Eduardo,

I am trying to run your docker sample but am stuck at the following command:

docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kaldi-gstreamer-server:latest /bin/bash

not sure what the output of the above command should be. it just sits there without outputting anything? is it expecting any input at this point? is this the docker container?

and a question about the next command:

/opt/start.sh -y /opt/models/nnet2.yaml

so what step will put the start.sh file in the /opt dir?

i downloaded the models(tedlium_nnet_ms_sp_online.tgz) using the commands from the examples/practical-example subdir.

it downloded the tedlium english crpus. i put them in /media/kaldi_models as sugeested by ur documentation.

am i doing it wrong?

thanks

mariasmo avatar Nov 27 '17 21:11 mariasmo

Hi,

The command

docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kaldi-gstreamer-server:latest /bin/bash

just starts the bash in a container. You must see your prompt with something like root@42313452

After that, you should start the ASR server. This is done with the start.sh script, which is already located at /opt, inside the container. If you type ls /opt in your docker container prompt, you must see it.

jcsilva avatar Nov 28 '17 17:11 jcsilva

Hi Eduardo,

Thanks for your quick reply. really appreciate it.

that's what i expected. but I am not seeing any prompt. i am still trying to troubleshoot it.

also just wanted to let you know that the image i downloaded does not copy the start.sh and stop.sh to /opt. i am copying it manually myself

thanks

mariasmo avatar Nov 28 '17 18:11 mariasmo

Hi guys,

I have a similar problem. Inside the container, the command /opt/start.sh -y /opt/models/nnet2.yaml does not start the server. There is any prompt or output. I am just in the next line of my bash.

(base) sim@SIM-L036:~$ sudo docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kaldi-gstreamer-server:latest /bin/bash
[sudo] Passwort für sim:
root@17dca8a2865c: /opt# /opt/start.sh -y /opt/models/nnet2.yaml
root@17dca8a2865c: /opt#

I am troubleshooting since a few days, I hope for your support.

feayma09 avatar May 22 '19 14:05 feayma09

Hi guys,

I have a similar problem. Inside the container, the command /opt/start.sh -y /opt/models/nnet2.yaml does not start the server. There is any prompt or output. I am just in the next line of my bash.

(base) sim@SIM-L036:~$ sudo docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kaldi-gstreamer-server:latest /bin/bash
[sudo] Passwort für sim:
root@17dca8a2865c: /opt# /opt/start.sh -y /opt/models/nnet2.yaml
root@17dca8a2865c: /opt#

I am troubleshooting since a few days, I hope for your support.

See master.log, worker.log file

trungkiendang avatar Aug 02 '19 02:08 trungkiendang