alexrods commited on
Commit
654b376
1 Parent(s): a667561

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
@@ -85,8 +85,8 @@ class MiniCarBikesDetection(datasets.GeneratorBasedBuilder):
85
  yield image_file, {
86
  "image": {"path": image_file[0], "bytes": image_file[1].read()},
87
  "image_name": image_name,
88
- "width": image_file["width"],
89
- "height": image_file["height"]
90
  }
91
 
92
 
 
85
  yield image_file, {
86
  "image": {"path": image_file[0], "bytes": image_file[1].read()},
87
  "image_name": image_name,
88
+ "width": annotation["width"],
89
+ "height": annotation["height"]
90
  }
91
 
92