ShixuanAn commited on
Commit
3ddc402
1 Parent(s): b16e19d

Update hugging_face.py

Browse files
Files changed (1) hide show
  1. 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, base_path, split):
 
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"