Update WaterFlowCountersRecognition.py
Browse files
WaterFlowCountersRecognition.py
CHANGED
|
@@ -141,7 +141,8 @@ class WaterFlowCounter(datasets.GeneratorBasedBuilder):
|
|
| 141 |
rotated = [int(region['region_attributes']['rotated'])]
|
| 142 |
|
| 143 |
|
| 144 |
-
yield idx, {
|
|
|
|
| 145 |
"image": {"path": filepath, "bytes": image_bytes},
|
| 146 |
"regions": {
|
| 147 |
"all_points_x": all_x,
|
|
|
|
| 141 |
rotated = [int(region['region_attributes']['rotated'])]
|
| 142 |
|
| 143 |
|
| 144 |
+
yield idx, {
|
| 145 |
+
"index": idx,
|
| 146 |
"image": {"path": filepath, "bytes": image_bytes},
|
| 147 |
"regions": {
|
| 148 |
"all_points_x": all_x,
|