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
96cd6da1
Commit
96cd6da1
authored
Nov 24, 2021
by
tink2123
Browse files
set autolog warmup=0
parent
d623bf9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/infer/predict_rec.py
tools/infer/predict_rec.py
+1
-1
No files found.
tools/infer/predict_rec.py
View file @
96cd6da1
...
@@ -91,7 +91,7 @@ class TextRecognizer(object):
...
@@ -91,7 +91,7 @@ class TextRecognizer(object):
time_keys
=
[
time_keys
=
[
'preprocess_time'
,
'inference_time'
,
'postprocess_time'
'preprocess_time'
,
'inference_time'
,
'postprocess_time'
],
],
warmup
=
2
,
warmup
=
0
,
logger
=
logger
)
logger
=
logger
)
def
resize_norm_img
(
self
,
img
,
max_wh_ratio
):
def
resize_norm_img
(
self
,
img
,
max_wh_ratio
):
...
...
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