From c12259091e9b2d4045e1984f35b158617cdb8135 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Sat, 12 Dec 2020 20:10:19 +0800 Subject: [PATCH] Fix printing problem when multi-image prediction --- tools/infer/predict_det.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/infer/predict_det.py b/tools/infer/predict_det.py index 5be27339..43db20d2 100755 --- a/tools/infer/predict_det.py +++ b/tools/infer/predict_det.py @@ -186,4 +186,4 @@ if __name__ == "__main__": cv2.imwrite(img_path, src_im) logger.info("The visualized image saved in {}".format(img_path)) if count > 1: - logger.info("Avg Time:", total_time / (count - 1)) + logger.info("Avg Time: {}".format(total_time / (count - 1))) -- GitLab