gpt4 book ai didi

tensorflow-serving - "address family for nodename not supported"警告会阻止正常转换吗?

转载 作者:行者123 更新时间:2023-12-03 21:18:48 26 4
gpt4 key购买 nike

我设法将 Keras 模型导出为 tensorflow/serving:1.10.0-gpu - 基于容器。但是,在启动时,我注意到 docker 日志中的警告,就在事件循环开始之前:[warn] getaddrinfo: address family for nodename not supported .我不确定这意味着什么,但到目前为止我还没有得到服务器的响应。相反,客户端收到 status = StatusCode.UNAVAILABE , details="OS Error" , "grpc_status":14 .
这是否与该警告有关?由于这个 unsupported address family,我是否在 gRPC 客户端和 tfserving 容器之间遇到了某种网络问题? ?
为了完整起见,我在下面发布了 docker 日志。请注意,为了便于阅读,我从日志中清除了时间戳和不重要的行:

[]: I tensorflow_serving/model_servers/main.cc:157] Building single TensorFlow model file config:  model_name: mrcnn model_base_path: /models/mrcnn
[]: I tensorflow_serving/model_servers/server_core.cc:462] Adding/updating models.
[]: I tensorflow_serving/model_servers/server_core.cc:517] (Re-)adding model: mrcnn
[]: I tensorflow_serving/core/basic_manager.cc:739] Successfully reserved resources to load servable {name: mrcnn version: 1}
[]: I tensorflow_serving/core/loader_harness.cc:66] Approving load for servable version {name: mrcnn version: 1}
[]: I tensorflow_serving/core/loader_harness.cc:74] Loading servable version {name: mrcnn version: 1}
[]: I external/org_tensorflow/tensorflow/contrib/session_bundle/bundle_shim.cc:360] Attempting to load native SavedModelBundle in bundle-shim from: /models/mrcnn/1
[]: I external/org_tensorflow/tensorflow/cc/saved_model/reader.cc:31] Reading SavedModel from: /models/mrcnn/1
[]: I external/org_tensorflow/tensorflow/cc/saved_model/reader.cc:54] Reading meta graph with tags { serve }
<skip>
[]: I external/org_tensorflow/tensorflow/core/common_runtime/gpu/gpu_device.cc:1097] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10277 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:68:00.0, compute capability: 6.1)
[]: I external/org_tensorflow/tensorflow/cc/saved_model/loader.cc:113] Restoring SavedModel bundle.
[]: I external/org_tensorflow/tensorflow/cc/saved_model/loader.cc:148] Running LegacyInitOp on SavedModel bundle.
[]: I external/org_tensorflow/tensorflow/cc/saved_model/loader.cc:233] SavedModel load for tags { serve }; Status: success. Took 1240882 microseconds.
<skip>
[]: I tensorflow_serving/core/loader_harness.cc:86] Successfully loaded servable version {name: mrcnn version: 1}
[]: I tensorflow_serving/model_servers/main.cc:327] Running ModelServer at 0.0.0.0:8500 ...
[warn] getaddrinfo: address family for nodename not supported
[evhttp_server.cc : 235] RAW: Entering the event loop ...
[]: I tensorflow_serving/model_servers/main.cc:337] Exporting HTTP/REST API at:localhost:8501 ..

最佳答案

简短的回答是否定的,该警告是良性的。我的预感是您的客户端无法与服务器通信,可能是因为您绑定(bind)了 docker 端口或客户端代码或调用它的方式。

关于tensorflow-serving - "address family for nodename not supported"警告会阻止正常转换吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52832189/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com