lisawen commited on
Commit
b8a2835
·
verified ·
1 Parent(s): d6b51c5

Update soybean_dataset.py

Browse files
Files changed (1) hide show
  1. soybean_dataset.py +1 -3
soybean_dataset.py CHANGED
@@ -136,9 +136,7 @@ class SoybeanDataset(datasets.GeneratorBasedBuilder):
136
 
137
  with open(filepath, encoding="utf-8") as f:
138
  data = csv.DictReader(f)
139
- for image_url in data["original_image"]:
140
- numpydata = self.process_image(image_url)
141
-
142
  for row in data:
143
  # Assuming the 'original_image' column has the full path to the image file
144
  unique_id = row['unique_id']
 
136
 
137
  with open(filepath, encoding="utf-8") as f:
138
  data = csv.DictReader(f)
139
+
 
 
140
  for row in data:
141
  # Assuming the 'original_image' column has the full path to the image file
142
  unique_id = row['unique_id']