Commit 6610678d authored by Eduardo Silva's avatar Eduardo Silva


parent 453df91f
......@@ -140,9 +140,10 @@ tar -zxvf tedlium_nnet_ms_sp_online.tgz
wget -P /media/kaldi_models
3) Update file paths:
3) Update file contents:
find /media/kaldi_models/ -type f | xargs sed -i 's:test:/opt:g'
sed -i 's:full-post-processor:#full-post-processor:g'
4) Instantiate master and worker on the same machine:
......@@ -158,8 +159,8 @@ docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kald
6) On your host machine, download a client example and test your setup with a given audio:
wget -P /tmp
wget -P /tmp
python /tmp/ -u ws://localhost:8080/client/ws/speech -r 32000 /tmp/bill_gates-TED.mp3
wget -P /tmp
python /tmp/ -u ws://localhost:8080/client/ws/speech -r 32000 /tmp/1272-128104-0000.wav
OBS: For running the client example, you must install ws4py version 0.3.2. This can be installed using `pip install --user ws4py==0.3.2`. You may also need simplejson and pyaudio. They may also be installed using pip.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment