Update mini_car_bikes_detection.py
Browse files
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[
|
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"],
|