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
9d5d552b
Commit
9d5d552b
authored
Jul 14, 2021
by
LDOUBLEV
Browse files
delete save_log_path and set logger
parent
100178d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tools/infer/predict_det.py
tools/infer/predict_det.py
+3
-2
No files found.
tools/infer/predict_det.py
View file @
9d5d552b
...
...
@@ -106,7 +106,7 @@ class TextDetector(object):
model_precision
=
args
.
precision
,
batch_size
=
1
,
data_shape
=
"dynamic"
,
save_path
=
args
.
save_log_path
,
save_path
=
None
,
inference_config
=
self
.
config
,
pids
=
pid
,
process_name
=
None
,
...
...
@@ -114,7 +114,8 @@ class TextDetector(object):
time_keys
=
[
'preprocess_time'
,
'inference_time'
,
'postprocess_time'
],
warmup
=
10
)
warmup
=
10
,
logger
=
logger
)
def
order_points_clockwise
(
self
,
pts
):
"""
...
...
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