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
eb208af1
Unverified
Commit
eb208af1
authored
Jul 21, 2020
by
shaohua.zhang
Committed by
GitHub
Jul 21, 2020
Browse files
rename a var and a function
parent
5f13f6e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/program.py
tools/program.py
+2
-2
No files found.
tools/program.py
View file @
eb208af1
...
...
@@ -375,7 +375,7 @@ def train_eval_rec_run(config, exe, train_info_dict, eval_info_dict):
save_model
(
train_info_dict
[
'train_program'
],
save_path
)
return
def
pre
P
rocess
():
def
pre
p
rocess
():
FLAGS
=
ArgsParser
().
parse_args
()
config
=
load_config
(
FLAGS
.
config
)
merge_config
(
FLAGS
.
opt
)
...
...
@@ -398,4 +398,4 @@ def preProcess():
if
alg
in
[
'EAST'
,
'DB'
]:
isContain_det
=
True
return
startup_program
,
train_program
,
place
,
config
,
isC
ontain_det
return
startup_program
,
train_program
,
place
,
config
,
c
ontain_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