Leyo commited on
Commit
a22c62c
1 Parent(s): 0d63227

fix image path extraction

Browse files
Files changed (1) hide show
  1. 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 = dl_manager.download_and_extract(JZ_FOLDER_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(