tfserving 部署指南

阅读 106

2022-03-12

搜索tfserving

docker search serving


拉取镜像

docker pull tensorflow/serving:1.15.0


查看下载好的镜像名称

docker images tensorflow/serving

部署镜像

docker run -p 8500:8500 -p 8501:8501 --name mywdl  --model_base_path=/models/mywdl  --mount type=bind,source=path1,target=/models/mywdl -e MODEL_NAME=mywdl -t tensorflow/serving &

进入容器

docker exec  -it <id> /bin/bash

查看启动情况

curl http://localhost:8501/v1/models/mywdl

精彩评论(0)

0 0 举报