diff --git a/tools/infer/predict_det.py b/tools/infer/predict_det.py index b022bc07e64622f27a9ebc2002921971a084632c..dabce38e55c4dda4e3d311bc0d63c08f3cfad01d 100755 --- a/tools/infer/predict_det.py +++ b/tools/infer/predict_det.py @@ -191,7 +191,8 @@ if __name__ == "__main__": if count > 0: total_time += elapse count += 1 - logger.info("Predict time of %s:" % image_file, elapse) + logger.info("The predicted time of img: {} is {}:".format(image_file, + elapse)) src_im = utility.draw_text_det_res(dt_boxes, image_file) img_name_pure = image_file.split("/")[-1] cv2.imwrite(