alexrods commited on
Commit
ecefa7c
1 Parent(s): 5022900

Update mini_car_bikes_detection.py

Browse files
Files changed (1) hide show
  1. mini_car_bikes_detection.py +1 -1
mini_car_bikes_detection.py CHANGED
@@ -83,7 +83,7 @@ class MiniCarBikesDetection(datasets.GeneratorBasedBuilder):
83
  image_name = image_file[0].split("/")[1]
84
  for annotation in annotations:
85
  if image_name == annotation["image"]:
86
- yield image_file[1], {
87
  "image": {"path": image_file[0], "bytes": image_file[1].read()},
88
  "image_name": image_name,
89
  "width": annotation["width"],
 
83
  image_name = image_file[0].split("/")[1]
84
  for annotation in annotations:
85
  if image_name == annotation["image"]:
86
+ yield image_file[0], {
87
  "image": {"path": image_file[0], "bytes": image_file[1].read()},
88
  "image_name": image_name,
89
  "width": annotation["width"],