From 9d36b100327ddcc9dc85e6815b8a1433f0d6b2a0 Mon Sep 17 00:00:00 2001 From: sys1874 <578417645@qq.com> Date: Thu, 10 Sep 2020 15:56:30 +0800 Subject: [PATCH] Update main_product.py --- ogb_examples/nodeproppred/unimp/main_product.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ogb_examples/nodeproppred/unimp/main_product.py b/ogb_examples/nodeproppred/unimp/main_product.py index e131e4b..d9780e3 100644 --- a/ogb_examples/nodeproppred/unimp/main_product.py +++ b/ogb_examples/nodeproppred/unimp/main_product.py @@ -117,11 +117,11 @@ def train_loop(parser, start_program, main_program, test_p_list, exe.run(start_program) feat_init(place) - max_acc=0 # 最佳test_acc - max_step=0 # 最佳test_acc 对应step - max_val_acc=0 # 最佳val_acc - max_cor_acc=0 # 最佳val_acc对应test_acc - max_cor_step=0 # 最佳val_acc对应step + max_acc=0 # best test_acc + max_step=0 # step for best test_acc + max_val_acc=0 # best val_acc + max_cor_acc=0 # test_acc for best val_acc + max_cor_step=0 # step for best val_acc #training loop for epoch_id in range(parser.epochs): -- GitLab