fix image path extraction
Browse files- SNLI-VE.py +4 -1
SNLI-VE.py
CHANGED
@@ -101,7 +101,10 @@ class SNLIVE(datasets.GeneratorBasedBuilder):
|
|
101 |
},
|
102 |
}
|
103 |
snli_ve_annotation_path = dl_manager.download_and_extract(urls)
|
104 |
-
images_path =
|
|
|
|
|
|
|
105 |
|
106 |
return [
|
107 |
datasets.SplitGenerator(
|
|
|
101 |
},
|
102 |
}
|
103 |
snli_ve_annotation_path = dl_manager.download_and_extract(urls)
|
104 |
+
images_path = os.path.join(
|
105 |
+
dl_manager.extract(JZ_FOLDER_PATH),
|
106 |
+
"flickr30k-images"
|
107 |
+
)
|
108 |
|
109 |
return [
|
110 |
datasets.SplitGenerator(
|