Update mini_car_bikes_detection.py
Browse files
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":
|
89 |
-
"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 |
|