Update SkinDisease.py
Browse files- SkinDisease.py +2 -1
SkinDisease.py
CHANGED
|
@@ -15,7 +15,7 @@ _DESCRIPTION = """\
|
|
| 15 |
TODO
|
| 16 |
"""
|
| 17 |
|
| 18 |
-
_URL = "https://huggingface.co/datasets/HugsVision/
|
| 19 |
|
| 20 |
@dataclass
|
| 21 |
class CustomConfig(datasets.BuilderConfig):
|
|
@@ -87,6 +87,7 @@ class SkinDisease(datasets.GeneratorBasedBuilder):
|
|
| 87 |
for class_name in os.listdir(data_dir):
|
| 88 |
|
| 89 |
class_name_path = os.path.join(data_dir, class_name)
|
|
|
|
| 90 |
|
| 91 |
for file_name in os.listdir(class_name_path):
|
| 92 |
|
|
|
|
| 15 |
TODO
|
| 16 |
"""
|
| 17 |
|
| 18 |
+
_URL = "https://huggingface.co/datasets/HugsVision/SkinDisease/resolve/main/skin-disease-datasaet.zip"
|
| 19 |
|
| 20 |
@dataclass
|
| 21 |
class CustomConfig(datasets.BuilderConfig):
|
|
|
|
| 87 |
for class_name in os.listdir(data_dir):
|
| 88 |
|
| 89 |
class_name_path = os.path.join(data_dir, class_name)
|
| 90 |
+
print(class_name_path)
|
| 91 |
|
| 92 |
for file_name in os.listdir(class_name_path):
|
| 93 |
|