Fix printing problem when multi-image prediction

This commit is contained in:
WenmuZhou 2020-12-12 20:10:19 +08:00
parent 4b87314a46
commit c12259091e
1 changed files with 1 additions and 1 deletions

View File

@ -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)))