Update the PaddleHub show name
@@ -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
