Datasets:
Update docci.py
Browse files
docci.py
CHANGED
|
@@ -121,6 +121,8 @@ 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 = {
|
|
|
|
| 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 = {
|