Datasets:

Languages:
English
ArXiv:
License:
yonatanbitton commited on
Commit
b17d8e9
1 Parent(s): edf6632

Update vasr.py

Browse files
Files changed (1) hide show
  1. vasr.py +3 -3
vasr.py CHANGED
@@ -105,9 +105,9 @@ class Winogavil(datasets.GeneratorBasedBuilder):
105
  "images_dir": hf_hub_url("datasets/nlphuji/vasr", filename="vasr_images.zip")
106
  })
107
 
108
- train_gen = datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={**data_dir, **{"files": dl_manager.download_and_extract(_URLS['train'])}})
109
- dev_gen = datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={**data_dir, **{"files": dl_manager.download_and_extract(_URLS['dev'])}})
110
- test_gen = datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={**data_dir, **{"files": dl_manager.download_and_extract(_URLS['test'])}})
111
 
112
  return [train_gen, dev_gen, test_gen]
113
 
 
105
  "images_dir": hf_hub_url("datasets/nlphuji/vasr", filename="vasr_images.zip")
106
  })
107
 
108
+ train_gen = datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs=data_dir)
109
+ dev_gen = datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs=data_dir)
110
+ test_gen = datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs=data_dir)
111
 
112
  return [train_gen, dev_gen, test_gen]
113