diff --git a/tools/program.py b/tools/program.py index f94ad83c532183f5a6ff458cfd8c0bfa814d5784..227b21f85023305d0e5318126cf45a26ecb973e9 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