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
f8441cff
"...git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "ecf05975d6f6a34c5de5ae8046f6ebbe6c5bc25b"
Unverified
Commit
f8441cff
authored
Jun 24, 2021
by
Double_V
Committed by
GitHub
Jun 24, 2021
Browse files
Update predict_det.py
parent
4c52e385
Changes
1
Show 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 @
f8441cff
...
@@ -34,7 +34,6 @@ from ppocr.postprocess import build_post_process
...
@@ -34,7 +34,6 @@ from ppocr.postprocess import build_post_process
# import tools.infer.benchmark_utils as benchmark_utils
# import tools.infer.benchmark_utils as benchmark_utils
logger
=
get_logger
()
logger
=
get_logger
()
import
auto_log
class
TextDetector
(
object
):
class
TextDetector
(
object
):
...
@@ -102,6 +101,7 @@ class TextDetector(object):
...
@@ -102,6 +101,7 @@ class TextDetector(object):
args
,
'det'
,
logger
)
args
,
'det'
,
logger
)
if
args
.
benchmark
:
if
args
.
benchmark
:
import
auto_log
pid
=
os
.
getpid
()
pid
=
os
.
getpid
()
self
.
autolog
=
auto_log
.
AutoLogger
(
self
.
autolog
=
auto_log
.
AutoLogger
(
model_name
=
"det"
,
model_name
=
"det"
,
...
...
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