未验证 提交 87432422 编写于 作者: W wawltor 提交者: GitHub

Bug fix for the program use

......@@ -124,8 +124,7 @@ def main(args, train_dataset, val_dataset, test_dataset):
break
correct = 0.
new_test_program = fluid.Program()
fluid.load(new_test_program, "./save/%s/%s" \
fluid.load(test_program, "./save/%s/%s" \
% (args.dataset_name, args.save_model), exe)
for feed_dict in test_loader:
correct_ = exe.run(test_program,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册