未验证 提交 194ad728 编写于 作者: W wangguanzhong 提交者: GitHub

fix warning (#7563)

上级 da0157cf
...@@ -191,7 +191,7 @@ def get_dataset_path(path, annotation, image_dir): ...@@ -191,7 +191,7 @@ def get_dataset_path(path, annotation, image_dir):
"Dataset {} is not valid for reason above, please check again.". "Dataset {} is not valid for reason above, please check again.".
format(osp.realpath(path))) format(osp.realpath(path)))
else: else:
logger.WARNING( logger.warning(
"Dataset {} is not valid for reason above, try searching {} or " "Dataset {} is not valid for reason above, try searching {} or "
"downloading dataset...".format(osp.realpath(path), DATASET_HOME)) "downloading dataset...".format(osp.realpath(path), DATASET_HOME))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册