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
4d541eb3
"ppocr/vscode:/vscode.git/clone" did not exist on "a24e30a78d237c2e931bcd8ca975a63b33e8b7b6"
Unverified
Commit
4d541eb3
authored
Jul 23, 2020
by
shaohua.zhang
Committed by
GitHub
Jul 23, 2020
Browse files
repair a var
parent
94e8c3b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/eval.py
tools/eval.py
+2
-2
No files found.
tools/eval.py
View file @
4d541eb3
...
@@ -48,7 +48,7 @@ from eval_utils.eval_rec_utils import eval_rec_run
...
@@ -48,7 +48,7 @@ from eval_utils.eval_rec_utils import eval_rec_run
def
main
():
def
main
():
startup_prog
,
eval_program
,
place
,
config
,
contain_det
=
program
.
preprocess
()
startup_prog
,
eval_program
,
place
,
config
,
train_alg_type
=
program
.
preprocess
()
eval_build_outputs
=
program
.
build
(
eval_build_outputs
=
program
.
build
(
config
,
eval_program
,
startup_prog
,
mode
=
'test'
)
config
,
eval_program
,
startup_prog
,
mode
=
'test'
)
eval_fetch_name_list
=
eval_build_outputs
[
1
]
eval_fetch_name_list
=
eval_build_outputs
[
1
]
...
@@ -59,7 +59,7 @@ def main():
...
@@ -59,7 +59,7 @@ def main():
init_model
(
config
,
eval_program
,
exe
)
init_model
(
config
,
eval_program
,
exe
)
if
contain_
det
:
if
train_alg_type
==
'
det
'
:
eval_reader
=
reader_main
(
config
=
config
,
mode
=
"eval"
)
eval_reader
=
reader_main
(
config
=
config
,
mode
=
"eval"
)
eval_info_dict
=
{
'program'
:
eval_program
,
\
eval_info_dict
=
{
'program'
:
eval_program
,
\
'reader'
:
eval_reader
,
\
'reader'
:
eval_reader
,
\
...
...
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