张量流模型的安装:带标志的服务器错误

时间:2019-01-20 07:22:29

标签: python tensorflow

根据说明安装了最新版本:https://www.tensorflow.org/serving/setup

它已编译:

tools/run_in_docker.sh bazel build --copt=-march=native --config=nativeopt tensorflow_serving/...

它不起作用:

tools/run_in_docker.sh bazel build --copt=mavx2 --config=nativeopt tensorflow_serving/...

我的错误:

ERROR: /home/rtur/serving/.cache/_bazel_root/9a7fc862f917ca824990d070e07d07d4/external/protobuf_archive/BUILD:104:1: C++ compilation of rule '@protobuf_archive//:protobuf' failed (Exit 1)
gcc: error: mavx2: No such file or directory

我该怎么办?

系统信息 Linux Ubuntu 18.04

TensorFlow Serving安装版本:1.12

0 个答案:

没有答案