提交 624e0fb3 编写于 作者: G guru4elephant

fix sdk desc

上级 7f5e2350
......@@ -104,7 +104,7 @@ class Client(object):
predictor_sdk = SDKConfig()
predictor_sdk.set_server_endpoints(endpoints)
sdk_desc = predictor_sdk.gen_desc()
self.client_handle_.create_predictor_by_desc(sdk_desc)
self.client_handle_.create_predictor_by_desc(sdk_desc.SerializeToString())
def get_feed_names(self):
return self.feed_names_
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册