Merge pull request #1622 from PaddlePaddle/WenmuZhou-patch-1

Update predict_det.py
This commit is contained in:
zhoujun 2021-01-01 07:51:39 -06:00 committed by GitHub
commit 12442d1c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -200,4 +200,4 @@ if __name__ == "__main__":
logger.info("The visualized img saved in {}".format(
os.path.join(draw_img_save, "det_res_%s" % img_name_pure)))
if count > 1:
logger.info("Avg Time:", total_time / (count - 1))
logger.info("Avg Time: {}".format(total_time / (count - 1)))