Leyo HF staff commited on
Commit
ebd6d45
1 Parent(s): 7ea0c76

fix snlive annotation path

Browse files
Files changed (1) hide show
  1. SNLIVE.py +1 -2
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
- snli_ve_annotations_zip = dl_manager.download_and_extract(urls)
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"