From 036e11364b8b249c81e1fd90a1113f0eb06317e2 Mon Sep 17 00:00:00 2001 From: "shaohua.zhang" Date: Mon, 27 Jul 2020 17:17:45 +0800 Subject: [PATCH] Update save_load.py --- ppocr/utils/save_load.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppocr/utils/save_load.py b/ppocr/utils/save_load.py index 1221552b..74a200f5 100755 --- a/ppocr/utils/save_load.py +++ b/ppocr/utils/save_load.py @@ -57,7 +57,7 @@ def _load_state(path): return state -def load_params(prog, path, ignore_params=None): +def load_params(exe, prog, path, ignore_params=[]): """ Load model from the given path. Args: -- GitLab