resolve the ValueError: too many values to unpack

resolve the  ValueError: too many values to unpack (expected 4)
This commit is contained in:
shaohua.zhang 2020-07-21 08:53:28 +08:00 committed by GitHub
parent d59077f4db
commit ea542b51b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ from ppocr.utils.save_load import init_model
def main():
startup_prog, eval_program, place, config = program.preProcess()
startup_prog, eval_program, place, config,_ = program.preProcess()
feeded_var_names, target_vars, fetches_var_name = program.build_export(
config, eval_program, startup_prog)