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
6b8d6cc3
Commit
6b8d6cc3
authored
Aug 26, 2021
by
LDOUBLEV
Browse files
fix log
parent
d7cbe526
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 @
6b8d6cc3
...
@@ -260,7 +260,7 @@ if __name__ == "__main__":
...
@@ -260,7 +260,7 @@ if __name__ == "__main__":
json
.
dumps
(
np
.
array
(
dt_boxes
).
astype
(
np
.
int32
).
tolist
()))
+
"
\n
"
json
.
dumps
(
np
.
array
(
dt_boxes
).
astype
(
np
.
int32
).
tolist
()))
+
"
\n
"
save_results
.
append
(
save_pred
)
save_results
.
append
(
save_pred
)
logger
.
info
(
save_pred
)
logger
.
info
(
save_pred
)
logger
.
info
(
"
P
redict time of {}: {}"
.
format
(
image_file
,
elapse
))
logger
.
info
(
"
The p
redict time of {}: {}"
.
format
(
image_file
,
elapse
))
src_im
=
utility
.
draw_text_det_res
(
dt_boxes
,
image_file
)
src_im
=
utility
.
draw_text_det_res
(
dt_boxes
,
image_file
)
img_name_pure
=
os
.
path
.
split
(
image_file
)[
-
1
]
img_name_pure
=
os
.
path
.
split
(
image_file
)[
-
1
]
img_path
=
os
.
path
.
join
(
draw_img_save
,
img_path
=
os
.
path
.
join
(
draw_img_save
,
...
...
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