tensorflow - 将tensorflow-serving-api 1.15版本安装到Centos 8

标签 tensorflow centos tensorflow-serving tensorflow1.15

我正在尝试将 Tensorflow-serving 安装到我的 Centos 8 机器上。 Centos 不支持使用 Docker 镜像安装。所以我尝试用pip安装。这些是安装tensorflow-model-server的命令:

pip3 install tensorflow-serving-api==1.15
echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" | sudo tee /etc/apt/sources.list.d/tensorflow-serving.list
curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install tensorflow-model-server

问题是我需要 1.15.0 版本,但我找不到如何修改链接以安装 1.15 版本。任何有关修改链接的帮助、将“tensorflow/serving”安装到 Centos 8 的想法都将受到我的赞赏:)

最佳答案

我找到了链接:

wget 'http://storage.googleapis.com/tensorflow-serving-apt/pool/tensorflow-model-server-1.15.0/t/tensorflow-model-server/tensorflow-model-server_1.15.0_all.deb'
dpkg -i tensorflow-model-server_1.15.0_all.deb
pip3 install tensorflow-serving-api==1.15

使用这些命令,它可以工作:)

关于tensorflow - 将tensorflow-serving-api 1.15版本安装到Centos 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66733616/

相关文章:

tensorflow - 为什么我们在 Tensorflow 中指定模型时需要担心 batch 维度?

python - Vim 插件无法识别 CentOS 中的 python 文件

php - 从源 CentOS 构建 php 的最佳方法是什么

docker - gRPC 服务器响应操作系统错误,grpc_status : 14

python - 在服务器上预处理图像

python - tensorflow 2 : loss using hidden layers output

python - TensorFlow,什么时候可以使用类似 Python 的负索引?

python - tensorflow 图节点名称与操作名称不匹配

linux - Centos 中的 Apache 用户权限

Tensorflow 服务 - 使用 tf.contrib.learn.Experiment 训练的模型的 "No versions of servable"消息