Datasets:

Languages:
English
ArXiv:
License:
yonatanbitton commited on
Commit
773f226
1 Parent(s): 75c8083

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, **{"split_key": "train", "files": dl_manager.download_and_extract(_URLS['train'])}})
109
- dev_gen = datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={**data_dir, **{"split_key": "train", "files": dl_manager.download_and_extract(_URLS['dev'])}})
110
- test_gen = datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={**data_dir, **{"split_key": "train", "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, **{"name": "train", "files": dl_manager.download_and_extract(_URLS['train'])}})
109
+ dev_gen = datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={**data_dir, **{"name": "train", "files": dl_manager.download_and_extract(_URLS['dev'])}})
110
+ test_gen = datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={**data_dir, **{"name": "train", "files": dl_manager.download_and_extract(_URLS['test'])}})
111
 
112
  return [train_gen, dev_gen, test_gen]
113