Leyo commited on
Commit
ebb9c83
·
1 Parent(s): d85b64c

fix extraction

Browse files
Files changed (1) hide show
  1. NLVR2.py +1 -4
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 = os.path.join(
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,