Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
c1225909
Commit
c1225909
authored
Dec 12, 2020
by
WenmuZhou
Browse files
Fix printing problem when multi-image prediction
parent
4b87314a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/infer/predict_det.py
tools/infer/predict_det.py
+1
-1
No files found.
tools/infer/predict_det.py
View file @
c1225909
...
@@ -186,4 +186,4 @@ if __name__ == "__main__":
...
@@ -186,4 +186,4 @@ if __name__ == "__main__":
cv2
.
imwrite
(
img_path
,
src_im
)
cv2
.
imwrite
(
img_path
,
src_im
)
logger
.
info
(
"The visualized image saved in {}"
.
format
(
img_path
))
logger
.
info
(
"The visualized image saved in {}"
.
format
(
img_path
))
if
count
>
1
:
if
count
>
1
:
logger
.
info
(
"Avg Time:
"
,
total_time
/
(
count
-
1
))
logger
.
info
(
"Avg Time:
{}"
.
format
(
total_time
/
(
count
-
1
))
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment