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

Installing version 1.15 of tensorflow-serving-api to Centos 8

我正在尝试将 Tensorflow-serving 安装到我的 Centos 8 机器上。使用 Docker 图像安装不是 Centos 的选项。所以我尝试用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

使用这些命令,它有效:)