tensorflow serving tfx docker 部署和requests.post使用教程(三)
1.使用models/maimai/versions/5的示例如下:
import json data = json.dumps({"signature_name": "serving_default", "instances": train_x[0:2].tolist()}) ''' data =&nbs
import json data = json.dumps({"signature_name": "serving_default", "instances": train_x[0:2].tolist()}) ''' data =&nbs
1.访问http://ip:8501/v1/models/stylegan查看部署模型的版本信息
(http://ip:8501/v1/models/stylegan/versions/1单个版本):
{ "model_version_status": [ { "version": "1", &nb
#安装docker curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
#设置docker源 yum-config-manager