Datasets:
Update vtqa2023.py
Browse files- vtqa2023.py +2 -0
vtqa2023.py
CHANGED
|
@@ -311,6 +311,7 @@ class VTQA(datasets.GeneratorBasedBuilder):
|
|
| 311 |
if image_type == "all"
|
| 312 |
else image_dict[image_type]
|
| 313 |
),
|
|
|
|
| 314 |
}
|
| 315 |
else:
|
| 316 |
yield id_, {
|
|
@@ -323,4 +324,5 @@ class VTQA(datasets.GeneratorBasedBuilder):
|
|
| 323 |
if image_type == "all"
|
| 324 |
else image_dict[image_type]
|
| 325 |
),
|
|
|
|
| 326 |
}
|
|
|
|
| 311 |
if image_type == "all"
|
| 312 |
else image_dict[image_type]
|
| 313 |
),
|
| 314 |
+
"cws_path": self.cws_supp_dir if self.config.use_cws else None,
|
| 315 |
}
|
| 316 |
else:
|
| 317 |
yield id_, {
|
|
|
|
| 324 |
if image_type == "all"
|
| 325 |
else image_dict[image_type]
|
| 326 |
),
|
| 327 |
+
"cws_path": self.cws_supp_dir if self.config.use_cws else None,
|
| 328 |
}
|