diff --git a/paddlehub/compat/module/module_v1.py b/paddlehub/compat/module/module_v1.py index 48b19bd5aa7ac9ac6b89c605ead5dc03fee41ace..e93f13d313b435376c807b17b131e10f3909cd90 100644 --- a/paddlehub/compat/module/module_v1.py +++ b/paddlehub/compat/module/module_v1.py @@ -254,6 +254,7 @@ class ModuleV1(object): ''' return self.default_signature != None + @paddle_utils.run_in_static_mode def save_inference_model(self, dirname: str, model_filename: str = None,