Datasets:

Languages:
English
ArXiv:
License:
yasumasaonoe commited on
Commit
9b016de
·
verified ·
1 Parent(s): 3b312f9

Update docci.py

Browse files
Files changed (1) hide show
  1. docci.py +1 -1
docci.py CHANGED
@@ -157,7 +157,7 @@ class DOCCI(datasets.GeneratorBasedBuilder):
157
  "image": image_path,
158
  "example_id": example_id,
159
  "split": split,
160
- "image_file": ex["image_file"],
161
  }
162
 
163
  yield _ex["example_id"], _ex
 
157
  "image": image_path,
158
  "example_id": example_id,
159
  "split": split,
160
+ "image_file": os.path.basename(image_path),
161
  }
162
 
163
  yield _ex["example_id"], _ex