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
a3170045
Unverified
Commit
a3170045
authored
Jul 16, 2020
by
MissPenguin
Committed by
GitHub
Jul 16, 2020
Browse files
Update test_hubserving.py
parent
4da55955
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/test_hubserving.py
tools/test_hubserving.py
+2
-2
No files found.
tools/test_hubserving.py
View file @
a3170045
...
@@ -87,7 +87,7 @@ def main(url, image_path):
...
@@ -87,7 +87,7 @@ def main(url, image_path):
total_time
+=
elapse
total_time
+=
elapse
print
(
"Predict time of %s: %.3fs"
%
(
image_file
,
elapse
))
print
(
"Predict time of %s: %.3fs"
%
(
image_file
,
elapse
))
res
=
r
.
json
()[
"results"
][
0
]
res
=
r
.
json
()[
"results"
][
0
]
#
print(res)
print
(
res
)
if
is_visualize
:
if
is_visualize
:
draw_img
=
draw_server_result
(
image_file
,
res
)
draw_img
=
draw_server_result
(
image_file
,
res
)
...
...
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