From 7783e857c78101321ea78567ea96b7f67e8df730 Mon Sep 17 00:00:00 2001 From: wuzewu Date: Mon, 7 Jan 2019 17:12:20 +0800 Subject: [PATCH] change pb file name --- paddle_hub/module_creator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle_hub/module_creator.py b/paddle_hub/module_creator.py index c5ba445c..b56af9f5 100644 --- a/paddle_hub/module_creator.py +++ b/paddle_hub/module_creator.py @@ -87,6 +87,6 @@ def create_module(sign_arr, program, path=None, assets=None): # save to dist data = module.SerializeToString() - metafile = os.path.join(path, "meta.pb") + metafile = os.path.join(path, "module_desc.pb") with open(metafile, "wb") as f: f.write(data) -- GitLab