fix extraction
Browse files
NLVR2.py
CHANGED
|
@@ -96,10 +96,7 @@ class NLVR2Dataset(datasets.GeneratorBasedBuilder):
|
|
| 96 |
# "test2": os.path.join(_JZ_IMG_FOLDER_PATH, _IMG_SPLITS["test2"]),
|
| 97 |
},
|
| 98 |
}
|
| 99 |
-
images_path =
|
| 100 |
-
dl_manager.extract(images_files),
|
| 101 |
-
"nlvr2-images"
|
| 102 |
-
)
|
| 103 |
return [
|
| 104 |
# datasets.SplitGenerator(
|
| 105 |
# name=datasets.Split.TRAIN,
|
|
|
|
| 96 |
# "test2": os.path.join(_JZ_IMG_FOLDER_PATH, _IMG_SPLITS["test2"]),
|
| 97 |
},
|
| 98 |
}
|
| 99 |
+
images_path = dl_manager.download_and_extract(images_files)
|
|
|
|
|
|
|
|
|
|
| 100 |
return [
|
| 101 |
# datasets.SplitGenerator(
|
| 102 |
# name=datasets.Split.TRAIN,
|