提交 35072117 编写于 作者: S Steffy-zxf 提交者: wuzewu

Update the PaddleHub show name (#24)

上级 31b697df
......@@ -155,7 +155,7 @@ class ModuleChecker(object):
def _check_module_proto_version(self):
if self.module_proto_version != module_proto_version:
logger.warning(
"Module description file version cannot be aligned with paddlehub version"
"Module description file version cannot be aligned with PaddleHub version"
)
return False
return True
......@@ -163,7 +163,7 @@ class ModuleChecker(object):
def _check_hub_version(self):
if version_compare(self.hub_version, hub_version):
logger.warning(
"This Module is generated by the paddlehub with version %s, and the local paddlehub version is %s, which may cause serious incompatible bug. Please upgrade paddlehub to the latest version."
"This Module is generated by the PaddleHub with version %s, and the local PaddleHub version is %s, which may cause serious incompatible bug. Please upgrade PaddleHub to the latest version."
% (self.hub_version, hub_version))
return False
return True
......@@ -171,7 +171,7 @@ class ModuleChecker(object):
def _check_paddle_version(self):
if version_compare(self.paddle_version, paddle.__version__):
logger.warning(
"This Module is generated by the paddlepaddle with version %s, and the local paddlepaddle version is %s, which may cause serious incompatible bug. Please upgrade paddlepaddle to the latest version."
"This Module is generated by the PaddlePaddle with version %s, and the local PaddlePaddle version is %s, which may cause serious incompatible bug. Please upgrade PaddlePaddle to the latest version."
% (self.paddle_version, paddle.__version__))
return False
return True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册