From ea542b51b41f04f5de710b799f0fadc0b315c8c7 Mon Sep 17 00:00:00 2001 From: "shaohua.zhang" Date: Tue, 21 Jul 2020 08:53:28 +0800 Subject: [PATCH] resolve the ValueError: too many values to unpack resolve the ValueError: too many values to unpack (expected 4) --- tools/export_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/export_model.py b/tools/export_model.py index 414b5794..44de4580 100644 --- a/tools/export_model.py +++ b/tools/export_model.py @@ -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)