Datasets:
yasumasaonoe
commited on
Update docci.py
Browse files
docci.py
CHANGED
@@ -121,7 +121,7 @@ class DOCCI(datasets.GeneratorBasedBuilder):
|
|
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 = {
|
127 |
"image": image_path,
|
|
|
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"], "images", ex["image_file"])
|
125 |
|
126 |
_ex = {
|
127 |
"image": image_path,
|