提交 b125aa1b 编写于 作者: W wuzewu

add debug info

上级 e2c8c1f7
...@@ -24,6 +24,7 @@ from paddle_hub.logger import logger ...@@ -24,6 +24,7 @@ from paddle_hub.logger import logger
def _compare_float(a, b): def _compare_float(a, b):
error_value = 1.0e-9 error_value = 1.0e-9
logger.debug("a is %f and b is %f" % (a, b))
# if python version < 3.5 # if python version < 3.5
if sys.version_info < (3, 5): if sys.version_info < (3, 5):
return abs(a - b) < error_value return abs(a - b) < error_value
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册