nielsr HF staff commited on
Commit
36010b7
1 Parent(s): 7efade5

Update funsd-layoutlmv3.py

Browse files
Files changed (1) hide show
  1. funsd-layoutlmv3.py +1 -1
funsd-layoutlmv3.py CHANGED
@@ -73,7 +73,7 @@ class Funsd(datasets.GeneratorBasedBuilder):
73
  names=["O", "B-HEADER", "I-HEADER", "B-QUESTION", "I-QUESTION", "B-ANSWER", "I-ANSWER"]
74
  )
75
  ),
76
- "image": datasets.Array3D(shape=(3, 224, 224), dtype="uint8"),
77
  "image_path": datasets.Value("string"),
78
  }
79
  ),
 
73
  names=["O", "B-HEADER", "I-HEADER", "B-QUESTION", "I-QUESTION", "B-ANSWER", "I-ANSWER"]
74
  )
75
  ),
76
+ "image": datasets.features.Image(),
77
  "image_path": datasets.Value("string"),
78
  }
79
  ),