ShixuanAn commited on
Commit
3756ac8
1 Parent(s): 7e85ea9

Update RDD_2020.py

Browse files
Files changed (1) hide show
  1. RDD_2020.py +2 -0
RDD_2020.py CHANGED
@@ -123,7 +123,9 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
123
  # Iterate over each country directory
124
  for country_dir in ['Czech', 'India', 'Japan']:
125
  images_dir = f"{filepath}/{country_dir}/images"
 
126
  print(os.listdir(images_dir))
 
127
 
128
  annotations_dir = f"{filepath}/{country_dir}/annotations/xmls" if split == "train" else None
129
 
 
123
  # Iterate over each country directory
124
  for country_dir in ['Czech', 'India', 'Japan']:
125
  images_dir = f"{filepath}/{country_dir}/images"
126
+
127
  print(os.listdir(images_dir))
128
+ print(os.listdir(filepath))
129
 
130
  annotations_dir = f"{filepath}/{country_dir}/annotations/xmls" if split == "train" else None
131