提交 a6417e15 编写于 作者: D Dong Daxiang 提交者: GitHub

Update README.md

上级 6f96fc8a
...@@ -59,8 +59,8 @@ test_reader = paddle.batch(paddle.reader.shuffle( ...@@ -59,8 +59,8 @@ test_reader = paddle.batch(paddle.reader.shuffle(
paddle.dataset.uci_housing.test(), buf_size=500), batch_size=1) paddle.dataset.uci_housing.test(), buf_size=500), batch_size=1)
for data in test_reader(): for data in test_reader():
fetch_map = client.predict(feed={"x": data[0][0]}, fetch=["y"]) fetch_map = client.predict(feed={"x": data[0][0]}, fetch=["price"])
print("{} {}".format(fetch_map["y"][0], data[0][1][0])) print("{} {}".format(fetch_map["price"][0], data[0][1][0]))
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册