fix snlive annotation path
Browse files
SNLIVE.py
CHANGED
|
@@ -106,8 +106,7 @@ class SNLIVE(datasets.GeneratorBasedBuilder):
|
|
| 106 |
"test": os.path.join(_SNLI_VE_URL_BASE, _SNLE_VE_SPLITS["test"]),
|
| 107 |
},
|
| 108 |
}
|
| 109 |
-
|
| 110 |
-
snli_ve_annotation_path = os.path.join(snli_ve_annotations_zip, "dataset_flickr30k.json")
|
| 111 |
images_path = os.path.join(
|
| 112 |
dl_manager.extract(os.path.join(dl_manager.manual_dir, "flickr30k-images.tar.gz")),
|
| 113 |
"flickr30k-images"
|
|
|
|
| 106 |
"test": os.path.join(_SNLI_VE_URL_BASE, _SNLE_VE_SPLITS["test"]),
|
| 107 |
},
|
| 108 |
}
|
| 109 |
+
snli_ve_annotation_path = dl_manager.download_and_extract(urls)
|
|
|
|
| 110 |
images_path = os.path.join(
|
| 111 |
dl_manager.extract(os.path.join(dl_manager.manual_dir, "flickr30k-images.tar.gz")),
|
| 112 |
"flickr30k-images"
|