tensorflow serving tfx docker 部署教程(二)
1.访问http://ip:8501/v1/models/stylegan查看部署模型的版本信息
(http://ip:8501/v1/models/stylegan/versions/1单个版本):
{ "model_version_status": [ { "version": "1", "state": "AVAILABLE", "status": { "error_code": "OK", "error_message": "" } } ] }
2.访问http://ip:8501/v1/models/stylegan/metadata查看部署模型的使用信息
(http://ip:8501/v1/models/stylegan/versions/1/metadata单个版本):
{ "model_spec":{ "name": "stylegan", "signature_name": "", "version": "1" } , "metadata": {"signature_def": { "signature_def": { "serving_default": { "inputs": { "noise": { "dtype": "DT_FLOAT", "tensor_shape": { "dim": [ { "size": "-1", "name": "" }, { "size": "64", "name": "" }, { "size": "64", "name": "" } ], "unknown_rank": false }, "name": "serving_default_noise:0" }, "z": { "dtype": "DT_FLOAT", "tensor_shape": { "dim": [ { "size": "-1", "name": "" }, { "size": "5", "name": "" }, { "size": "100", "name": "" } ], "unknown_rank": false }, "name": "serving_default_z:0" }, "ones": { "dtype": "DT_FLOAT", "tensor_shape": { "dim": [ { "size": "-1", "name": "" }, { "size": "1", "name": "" } ], "unknown_rank": false }, "name": "serving_default_ones:0" } }, "outputs": { "conv2d": { "dtype": "DT_FLOAT", "tensor_shape": { "dim": [ { "size": "-1", "name": "" }, { "size": "64", "name": "" }, { "size": "64", "name": "" }, { "size": "3", "name": "" } ], "unknown_rank": false }, "name": "StatefulPartitionedCall:0" } }, "method_name": "tensorflow/serving/predict" }, "__saved_model_init_op": { "inputs": {}, "outputs": { "__saved_model_init_op": { "dtype": "DT_INVALID", "tensor_shape": { "dim": [], "unknown_rank": true }, "name": "NoOp" } }, "method_name": "" } } } } }
版权声明:本文为期权记的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://www.qiquanji.com/post/13967.html
微信扫码关注
更新实时通知