alexrods commited on
Commit
77a6074
1 Parent(s): 87dc07c

Update mini_car_bikes_detection.py

Browse files
Files changed (1) hide show
  1. mini_car_bikes_detection.py +2 -2
mini_car_bikes_detection.py CHANGED
@@ -62,9 +62,9 @@ class MiniCarBikesDetection(datasets.GeneratorBasedBuilder):
62
  ]
63
 
64
  def _generate_examples(self, image_files):
65
- for image_file, image_obj in image_files:
66
  yield image_file, {
67
- "image": {"path": image_file, "bytes": image_obj.read()},
68
  }
69
 
70
 
 
62
  ]
63
 
64
  def _generate_examples(self, image_files):
65
+ for image_file in image_files:
66
  yield image_file, {
67
+ "image": {"path": image_file, "bytes": image_file.read()},
68
  }
69
 
70