From 069f52d8440583479f96b6e4b67fae33626c2a21 Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Tue, 26 Oct 2021 20:47:42 +0800 Subject: [PATCH] fix total --- tools/program.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/program.py b/tools/program.py index f94ad83c..227b21f8 100755 --- a/tools/program.py +++ b/tools/program.py @@ -452,8 +452,6 @@ def get_center(model, eval_dataloader, post_process_class): batch = [item.numpy() for item in batch] # Obtain usable results from post-processing methods - total_time += time.time() - start - # Evaluate the results of the current batch post_result = post_process_class(preds, batch[1]) #update char_center -- GitLab