diff --git a/ppdet/utils/download.py b/ppdet/utils/download.py index 5319152df75abf016f6b170e11f35dfa93a71f67..8fb95afa36602ce9c6964ff05190216d01ffb235 100644 --- a/ppdet/utils/download.py +++ b/ppdet/utils/download.py @@ -191,7 +191,7 @@ def get_dataset_path(path, annotation, image_dir): "Dataset {} is not valid for reason above, please check again.". format(osp.realpath(path))) else: - logger.WARNING( + logger.warning( "Dataset {} is not valid for reason above, try searching {} or " "downloading dataset...".format(osp.realpath(path), DATASET_HOME))