未验证 提交 d4eb5b3d 编写于 作者: D Dong Daxiang 提交者: GitHub

Update README.md

上级 484a0f29
......@@ -42,7 +42,7 @@ client.load_client_config("uci_housing_client/serving_client_conf.prototxt")
client.connect(["127.0.0.1:9292"])
data = [0.0137, -0.1136, 0.2553, -0.0692, 0.0582, -0.0727,
-0.1583, -0.0584, 0.6283, 0.4919, 0.1856, 0.0795, -0.0332]
fetch_map = client.predict(feed={"x": data[0][0]}, fetch=["price"])
fetch_map = client.predict(feed={"x": data}, fetch=["price"])
print(fetch_map)
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册