ShixuanAn commited on
Commit
f7d33c1
1 Parent(s): 96a8e33

Update hugging_face.py

Browse files
Files changed (1) hide show
  1. hugging_face.py +1 -0
hugging_face.py CHANGED
@@ -157,6 +157,7 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
157
  }
158
  def _generate_examples(self, base_path, split):
159
  # Iterate over each country directory
 
160
  for country_dir in ['Czech', 'India', 'Japan']:
161
  images_dir = f"{base_path}/{country_dir}/images"
162
  annotations_dir = f"{base_path}/{country_dir}/annotations/xmls" if split == "train" else None
 
157
  }
158
  def _generate_examples(self, base_path, split):
159
  # Iterate over each country directory
160
+ print(base_path)
161
  for country_dir in ['Czech', 'India', 'Japan']:
162
  images_dir = f"{base_path}/{country_dir}/images"
163
  annotations_dir = f"{base_path}/{country_dir}/annotations/xmls" if split == "train" else None