diff --git a/python/paddle/vision/datasets/folder.py b/python/paddle/vision/datasets/folder.py index 8b17da9c9236bb3d6312c9143bc348235444ac26..88706a924a1db9c37d00789caeb03446e9196ef2 100644 --- a/python/paddle/vision/datasets/folder.py +++ b/python/paddle/vision/datasets/folder.py @@ -134,7 +134,7 @@ class DatasetFolder(Dataset): is_valid_file) if len(samples) == 0: raise (RuntimeError( - "Found 0 files in subfolders of: " + self.root + "\n" + "Found 0 directories in subfolders of: " + self.root + "\n" "Supported extensions are: " + ",".join(extensions))) self.loader = default_loader if loader is None else loader