Hi there,
I am attempting the task of getting DeepSpeech to build on Windows, by using DeepSpeech’s release of tensorflow (here: https://github.com/mozilla/tensorflow/tree/r1.11) , and bazel. I have been able to install Bazel successfully, and get it running properly on example files as described here: https://docs.bazel.build/versions/master/windows.html.
After this, I tried to build tensorflow and deepspeech on windows using bazel as described here: https://github.com/mozilla/DeepSpeech/blob/master/native_client/README.md, and to the best of my knowledge have been able to get the previous steps done successfully. However when I come to the section about building in this webpage, and run the statements:
bazel build -c opt --copt=-O3 --copt="-D_GLIBCXX_USE_CXX11_ABI=0" native_client:libctc_decoder_with_kenlm.so
I get an error as follows:
WARNING: Option ‘experimental_shortened_obj_file_path’ is deprecated
ERROR: G:/pradyumna/smartscribe/codes_and_scripts/tensorflow/native_client/BUILD:18:1: Traceback (most recent call last):
File “G:/pradyumna/smartscribe/codes_and_scripts/tensorflow/native_client/BUILD”, line 18
tf_library(name = “deepspeech_model_core”, cp…", <5 more arguments>)
File “C:/users/pradyumna m k prasad/_bazel_pradyumna m k prasad/kemb47d3/external/org_tensorflow/tensorflow/compiler/aot/tfcompile.bzl”, line 170, in tf_library
" “.join([((”’" + arg.replace("’", “’\’’… [])])
File “C:/users/pradyumna m k prasad/_bazel_pradyumna m k prasad/kemb47d3/external/org_tensorflow/tensorflow/compiler/aot/tfcompile.bzl”, line 170, in " “.join
[((”’” + arg.replace("’", “’\’’”)) + “’”) for arg in (tfcompile_flags or [])]
type ‘select’ is not iterable
ERROR: error loading package ‘native_client’: Package ‘native_client’ contains errors
It is worth mentioning that in the folder native_client, there does not seem to be any file named “libctc_decoder_with_kenlm.so”, so am I missing a file?
I expected this entire process to be difficult as it is on windows, but after overcoming many issues, I am stuck here. Please ask me if you need any more information. Help would be really appreciated.
Thank you!