未验证 提交 0d8d6f21 编写于 作者: M MissPenguin 提交者: GitHub

Merge pull request #4454 from littletomatodonkey/dyg/fix_center

fix total
...@@ -452,8 +452,6 @@ def get_center(model, eval_dataloader, post_process_class): ...@@ -452,8 +452,6 @@ def get_center(model, eval_dataloader, post_process_class):
batch = [item.numpy() for item in batch] batch = [item.numpy() for item in batch]
# Obtain usable results from post-processing methods # 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]) post_result = post_process_class(preds, batch[1])
#update char_center #update char_center
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册