Update program.py

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

View File

@ -394,8 +394,8 @@ def preprocess():
startup_program = fluid.Program()
train_program = fluid.Program()
isContain_det = False
contain_det = False
if alg in ['EAST', 'DB']:
isContain_det = True
contain_det = True
return startup_program, train_program, place, config, contain_det