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
87f0aeed
Commit
87f0aeed
authored
Feb 24, 2021
by
LDOUBLEV
Browse files
fix gap between train_model predict and inference
parent
3ce97f18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
tools/infer/predict_det.py
tools/infer/predict_det.py
+1
-4
No files found.
tools/infer/predict_det.py
View file @
87f0aeed
...
@@ -39,10 +39,7 @@ class TextDetector(object):
...
@@ -39,10 +39,7 @@ class TextDetector(object):
self
.
args
=
args
self
.
args
=
args
self
.
det_algorithm
=
args
.
det_algorithm
self
.
det_algorithm
=
args
.
det_algorithm
pre_process_list
=
[{
pre_process_list
=
[{
'DetResizeForTest'
:
{
'DetResizeForTest'
:
None
'limit_side_len'
:
args
.
det_limit_side_len
,
'limit_type'
:
args
.
det_limit_type
}
},
{
},
{
'NormalizeImage'
:
{
'NormalizeImage'
:
{
'std'
:
[
0.229
,
0.224
,
0.225
],
'std'
:
[
0.229
,
0.224
,
0.225
],
...
...
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