Update hugging_face.py
Browse files- hugging_face.py +2 -1
hugging_face.py
CHANGED
@@ -110,7 +110,8 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
|
|
110 |
),
|
111 |
]
|
112 |
|
113 |
-
def _generate_examples(self,
|
|
|
114 |
# Iterate over each country directory
|
115 |
for country_dir in ['Czech', 'India', 'Japan']:
|
116 |
images_dir = f"{extracted_path}/{country_dir}/images"
|
|
|
110 |
),
|
111 |
]
|
112 |
|
113 |
+
def _generate_examples(self, extracted_path, annotations_dir, split):
|
114 |
+
|
115 |
# Iterate over each country directory
|
116 |
for country_dir in ['Czech', 'India', 'Japan']:
|
117 |
images_dir = f"{extracted_path}/{country_dir}/images"
|