Hi everyone,
I’m trying to add some information to the PlayBook around generating a new scorer
file. I’m using;
- Docker image from
mozilla/deepspeech-train:v0.9.3
and am following the v0.9.3 documentation for building a scorer here. I have been able to successfully create an lm.binary
and vocab-500000.txt
file.
$ ls
total 548
4 drwxrwxr-x 2 kathyreid kathyreid 4096 Feb 24 19:05 ./
4 drwxrwxr-x 6 kathyreid kathyreid 4096 Feb 24 19:05 ../
488 -rw-r--r-- 1 root root 499594 Feb 24 19:05 lm.binary
52 -rw-r--r-- 1 root root 51178 Feb 24 19:05 vocab-500000.txt
I’m now stuck trying to use generate_scorer_package
.
I have attempted the following;
- Installed
bazel
version3.1.0
according to the docs. - Run the command given for compiling
generate_scorer_package
but it fails with this error:
root@0928acdb7399:/DeepSpeech/data/lm# bazel build --workspace_status_command="bash native_client/bazel_workspace_status_cmd.sh" --config=monolithic -c opt --copt=-O3 --copt="-D_GLIBCXX_USE_CXX11_ABI=0" --copt=-fvisibility=hidden //native_client:libdeepspeech.so //native_client:generate_scorer_package
ERROR: The 'build' command is only supported from within a workspace (below a directory having a WORKSPACE file).
See documentation at https://docs.bazel.build/versions/master/build-ref.html#workspace
- I searched using
find
andgrep
but could not find aWORKSPACE
file in the filesystem.
What should I try next?