tensorlayer / chinese-book

《深度学习:一起玩转TensorLayer》资源分享、讨论
139 stars 47 forks source link

ch14.6 page 300 How to run TensorFlow Serving? #27

Open arisliang opened 6 years ago

arisliang commented 6 years ago

$ ./tensorflow_model_server --port=9000 --model_base_path=./rnn_model --model_name=antispam 找不到server, #https://github.com/pakrchen/text-antispam/issues/1

bash: ./tensorflow_model_server: No such file or directory

arisliang commented 6 years ago

After install TensorFlow Serving, the error becomes:

tensorflow_model_server: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by tensorflow_model_server) tensorflow_model_server: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionCXXABI_1.3.11' not found (required by tensorflow_model_server)

pakrchen commented 6 years ago

操作系统版本?

arisliang commented 6 years ago

ubuntu 16.04 tensorflow 1.6

pakrchen commented 6 years ago

是在ubuntu16.04使用bazel编译tensorflow serving成功后,在ubuntu16.04上运行tensorflow serving报的错误吗?

arisliang commented 6 years ago

没有,我应该是直接安装binaries (https://www.tensorflow.org/serving/setup).

pakrchen commented 6 years ago

可能他编译的环境和你的不一样,你可以试试Installing from source