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
1c7f9306
Commit
1c7f9306
authored
Dec 19, 2021
by
LDOUBLEV
Browse files
add ips
parent
9dd50e6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/infer_kie.py
tools/infer_kie.py
+1
-1
No files found.
tools/infer_kie.py
View file @
1c7f9306
...
...
@@ -144,7 +144,7 @@ def main():
logger
.
info
(
"success!"
)
logger
.
info
(
"It took {} s for predict {} images."
.
format
(
np
.
sum
(
count_t
),
len
(
count_t
)))
ips
=
np
.
sum
(
count_t
[
warmup_times
:])
/
len
(
count_t
[
warmup_times
:])
ips
=
len
(
count_t
[
warmup_times
:])
/
np
.
sum
(
count_t
[
warmup_times
:])
logger
.
info
(
"The ips is {} images/s"
.
format
(
ips
))
...
...
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