OSX El Capitan'da TensorFlow sunum temel eğitimini oluşturmaya çalışıyorum ancak bu hata ile karşılaşıyorum. Herhangi bir fikir? (this tartışma dayalı)Bazel Build Mnist Sunum Arabirim Hatası OSX El Capitan'da
$ bazel build //tensorflow_serving/example:mnist_inference
INFO: Found 1 target...
ERROR: /Users/robertgrzesik/Documents/Development/TensorFlow/serving/tensorflow_serving/example/BUILD:53:1: Linking of rule '//tensorflow_serving/example:mnist_inference' failed: osx_gcc_wrapper.sh failed: error executing command external/bazel_tools/tools/cpp/osx_gcc_wrapper.sh -o bazel-out/local_darwin-fastbuild/bin/tensorflow_serving/example/mnist_inference ... (remaining 512 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
clang: warning: argument unused during compilation: '-pthread'
ld: warning: option -noall_load is obsolete and being ignored
ld: warning: option -noall_load is obsolete and being ignored
ld: warning: option -noall_load is obsolete and being ignored
ld: warning: option -noall_load is obsolete and being ignored
ld: warning: option -noall_load is obsolete and being ignored
ld: warning: option -noall_load is obsolete and being ignored
Bu değişiklik https://tensorflow.github.io/serving/serving_basic aynı zamanda benim WORKSPACE dosyasına yapıldı:
İşte öğretici bağlantısı şudur
git_repository(
name = "boringssl_git",
commit = "32bfe16a53ad13523eadce08dd2f835bc2b0b52d",
init_submodules = True,
remote = "https://github.com/ctiller/boringssl-bazel",
)
liman işçisi kullanmak için geçici bir düzeltme bulundu. Şu anda OSX ile ilgili bilinen sorunlar var gibi görünüyor: http://tensorflow.github.io/serving/docker – Rob