From 6b8d6cc3b7151dcf391466abf68a3bcfea2f7a24 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 26 Aug 2021 02:22:32 +0000 Subject: [PATCH] fix log --- 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 797e83a3..9a9ad97c 100755 --- a/tools/infer/predict_det.py +++ b/tools/infer/predict_det.py @@ -260,7 +260,7 @@ if __name__ == "__main__": json.dumps(np.array(dt_boxes).astype(np.int32).tolist())) + "\n" save_results.append(save_pred) logger.info(save_pred) - logger.info("Predict time of {}: {}".format(image_file, elapse)) + logger.info("The predict time of {}: {}".format(image_file, elapse)) src_im = utility.draw_text_det_res(dt_boxes, image_file) img_name_pure = os.path.split(image_file)[-1] img_path = os.path.join(draw_img_save, -- GitLab