提交 ab1d8b83 编写于 作者: L Lizhengo 提交者: Yibing Liu

fix pred in simnet (#2995)

上级 388d8c8d
......@@ -138,7 +138,7 @@ def train(conf_dict, args):
valid_feeder = fluid.DataFeeder(
place=place, feed_list=[left.name, pos_right.name])
valid_reader = simnet_process.get_reader("valid")
pred = pos_score
pred = pos_score
# Save Infer model
infer_program = fluid.default_main_program().clone(for_test=True)
_, neg_score = net.predict(left, neg_right)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册