Datasets:

Languages:
English
ArXiv:
License:
yasumasaonoe commited on
Commit
9889d81
·
verified ·
1 Parent(s): 7dbc5ea

Update docci.py

Browse files
Files changed (1) hide show
  1. docci.py +1 -3
docci.py CHANGED
@@ -42,7 +42,7 @@ _FEATURES_DOCCI = datasets.Features(
42
  {
43
  "image": datasets.Image(),
44
  "example_id": datasets.Value('string'),
45
- "description": [datasets.Value('string')],
46
  }
47
  )
48
 
@@ -121,8 +121,6 @@ class DOCCI(datasets.GeneratorBasedBuilder):
121
  if not (ex["split"] == "qual_test" and ex['example_id'].startswith("qual_test")):
122
  continue
123
 
124
- print(ex)
125
-
126
  image_path = os.path.join(data["images"], ex["image_file"])
127
 
128
  _ex = {
 
42
  {
43
  "image": datasets.Image(),
44
  "example_id": datasets.Value('string'),
45
+ "description": datasets.Value('string'),
46
  }
47
  )
48
 
 
121
  if not (ex["split"] == "qual_test" and ex['example_id'].startswith("qual_test")):
122
  continue
123
 
 
 
124
  image_path = os.path.join(data["images"], ex["image_file"])
125
 
126
  _ex = {