Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#1401 from WenmuZhou/tree_doc
Browse files Browse the repository at this point in the history
[Dygraph] Fix printing problem when multi-image prediction
  • Loading branch information
MissPenguin committed Dec 13, 2020
2 parents bf145a2 + c122590 commit d7f5365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/infer/predict_det.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ def __call__(self, img):
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)))

0 comments on commit d7f5365

Please sign in to comment.