SIA86 commited on
Commit
37cd4ac
·
1 Parent(s): 2fb197d

Update WaterFlowCountersRecognition.py

Browse files
Files changed (1) hide show
  1. WaterFlowCountersRecognition.py +2 -2
WaterFlowCountersRecognition.py CHANGED
@@ -61,7 +61,7 @@ class WaterFlowCounter(datasets.GeneratorBasedBuilder):
61
  def _info(self):
62
  features = datasets.Features(
63
  {
64
- "id": datasets.Value("string"),
65
  "image": datasets.Image(),
66
  "width": datasets.Value('int32'),
67
  "height": datasets.Value('int32'),
@@ -171,7 +171,7 @@ class WaterFlowCounter(datasets.GeneratorBasedBuilder):
171
 
172
 
173
  yield idx, {
174
- "id": file,
175
  "image": {"path": filepath, "bytes": image_bytes},
176
  "width": width,
177
  "height": height,
 
61
  def _info(self):
62
  features = datasets.Features(
63
  {
64
+ "filename": datasets.Value("string"),
65
  "image": datasets.Image(),
66
  "width": datasets.Value('int32'),
67
  "height": datasets.Value('int32'),
 
171
 
172
 
173
  yield idx, {
174
+ "filename": file,
175
  "image": {"path": filepath, "bytes": image_bytes},
176
  "width": width,
177
  "height": height,