DeepSpeech/demos
2016-11-30 18:15:22 +00:00
..
images Add a demos directory with two speech recognition demos 2016-11-30 18:15:22 +00:00
BUILD Add a demos directory with two speech recognition demos 2016-11-30 18:15:22 +00:00
deepspeech_demos.py Add a demos directory with two speech recognition demos 2016-11-30 18:15:22 +00:00
dictation.html Add a demos directory with two speech recognition demos 2016-11-30 18:15:22 +00:00
index.html Add a demos directory with two speech recognition demos 2016-11-30 18:15:22 +00:00
README.md Add a demos directory with two speech recognition demos 2016-11-30 18:15:22 +00:00
santa.html Add a demos directory with two speech recognition demos 2016-11-30 18:15:22 +00:00

DeepSpeech demos

A collection of demos for an exported DeepSpeech model.

Requirements

Building

Create a symbolic link in the Tensorflow Serving checkout to the deepspeech demos directory.

cd serving
ln -s ../DeepSpeech/demos ./deepspeech_demos

If you haven't already, you'll need to build the Tensorflow Server.

bazel build -c opt //tensorflow_serving/model_servers:tensorflow_model_server

Then you can build the DeepSpeech demos binary.

bazel build -c opt //deepspeech_demos

Running

Start a server running an exported DeepSpeech model.

bazel-bin/tensorflow_serving/model_servers/tensorflow_model_server --port=9000 --model_name=deepspeech --model_base_path=/path/to/deepspeech/export

Run the demos binary, from the demos directory.

/path/to/tensorflow/serving/bazel-bin/deepspeech_demos/deepspeech_demos --server=localhost:9000

Now navigate to http://localhost:8080 in a web browser.