mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-24 23:33:08 +08:00
Update save_load.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user