From 608be6ebaf4daed63a0da254f656d25b7edd834d Mon Sep 17 00:00:00 2001 From: HexToString <506181616@qq.com> Date: Thu, 3 Jun 2021 02:51:45 +0000 Subject: [PATCH] update pybind fix --- python/paddle_serving_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle_serving_client/client.py b/python/paddle_serving_client/client.py index 75915518..1def950a 100755 --- a/python/paddle_serving_client/client.py +++ b/python/paddle_serving_client/client.py @@ -703,7 +703,7 @@ class MultiLangClient(object): if batch is False: for key in feed: if ".lod" not in key: - feed[key] = np.expand_dims(feed_i[key], 0).repeat(1, axis=0) + feed[key] = np.expand_dims(feed[key], 0).repeat(1, axis=0) if not asyn: try: self.profile_.record('py_prepro_0') -- GitLab