rename a var and a function

This commit is contained in:
shaohua.zhang 2020-07-21 14:00:20 +08:00 committed by GitHub
parent 5f13f6e08a
commit eb208af146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 preProcess():
def preprocess():
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, isContain_det
return startup_program, train_program, place, config, contain_det