resolve the ValueError: too many values to unpack
resolve the ValueError: too many values to unpack (expected 4)
This commit is contained in:
parent
d59077f4db
commit
ea542b51b4
|
@ -45,7 +45,7 @@ from ppocr.utils.save_load import init_model
|
||||||
|
|
||||||
|
|
||||||
def main():
|
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(
|
feeded_var_names, target_vars, fetches_var_name = program.build_export(
|
||||||
config, eval_program, startup_prog)
|
config, eval_program, startup_prog)
|
||||||
|
|
Loading…
Reference in New Issue