SIA86 commited on
Commit
4a0f506
·
1 Parent(s): a790e7c

Update WaterFlowCountersRecognition.py

Browse files
Files changed (1) hide show
  1. WaterFlowCountersRecognition.py +2 -2
WaterFlowCountersRecognition.py CHANGED
@@ -70,7 +70,7 @@ class WaterFlowCounter(datasets.GeneratorBasedBuilder):
70
  "id": datasets.Value("int64"),
71
  "area": datasets.Value("int64"),
72
  "bbox": datasets.Sequence(datasets.Value("float32"), length=4),
73
- "cathegory": datasets.ClassLabel(names=_REGION_NAME),
74
  }
75
  ),
76
  }
@@ -180,7 +180,7 @@ class WaterFlowCounter(datasets.GeneratorBasedBuilder):
180
  "id": ids,
181
  "area": all_area,
182
  "bbox": all_bbox,
183
- "cathegory":names,
184
  }
185
  }
186
  idx += 1
 
70
  "id": datasets.Value("int64"),
71
  "area": datasets.Value("int64"),
72
  "bbox": datasets.Sequence(datasets.Value("float32"), length=4),
73
+ "category": datasets.ClassLabel(names=_REGION_NAME),
74
  }
75
  ),
76
  }
 
180
  "id": ids,
181
  "area": all_area,
182
  "bbox": all_bbox,
183
+ "category":names,
184
  }
185
  }
186
  idx += 1