comment train and test for testing
Browse files
NLVR2.py
CHANGED
|
@@ -94,9 +94,9 @@ class NLVR2Dataset(datasets.GeneratorBasedBuilder):
|
|
| 94 |
# "test1": os.path.join(_JZ_IMG_FOLDER_PATH, _IMG_SPLITS["test1"]),
|
| 95 |
# "test2": os.path.join(_JZ_IMG_FOLDER_PATH, _IMG_SPLITS["test2"]),
|
| 96 |
}
|
| 97 |
-
train_img_path = os.path.join(dl_manager.extract(images_files["train"]), "train_nlvr2")
|
| 98 |
validation_img_path = os.path.join(dl_manager.extract(images_files["validation"]), "dev_nlvr2")
|
| 99 |
-
test1_img_path = os.path.join(dl_manager.extract(images_files["test1"]), "test1_nlvr2")
|
| 100 |
return [
|
| 101 |
# datasets.SplitGenerator(
|
| 102 |
# name=datasets.Split.TRAIN,
|
|
|
|
| 94 |
# "test1": os.path.join(_JZ_IMG_FOLDER_PATH, _IMG_SPLITS["test1"]),
|
| 95 |
# "test2": os.path.join(_JZ_IMG_FOLDER_PATH, _IMG_SPLITS["test2"]),
|
| 96 |
}
|
| 97 |
+
# train_img_path = os.path.join(dl_manager.extract(images_files["train"]), "train_nlvr2")
|
| 98 |
validation_img_path = os.path.join(dl_manager.extract(images_files["validation"]), "dev_nlvr2")
|
| 99 |
+
# test1_img_path = os.path.join(dl_manager.extract(images_files["test1"]), "test1_nlvr2")
|
| 100 |
return [
|
| 101 |
# datasets.SplitGenerator(
|
| 102 |
# name=datasets.Split.TRAIN,
|