Commit ·
e23995f
1
Parent(s): b7962ee
Update vasr.py
Browse files
vasr.py
CHANGED
|
@@ -90,8 +90,8 @@ class Winogavil(datasets.GeneratorBasedBuilder):
|
|
| 90 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
| 91 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 92 |
data_dir = dl_manager.download_and_extract({
|
| 93 |
-
"examples_csv": hf_hub_url(repo_id="
|
| 94 |
-
"images_dir": hf_hub_url(repo_id="
|
| 95 |
})
|
| 96 |
|
| 97 |
return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs=data_dir)]
|
|
|
|
| 90 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
| 91 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
| 92 |
data_dir = dl_manager.download_and_extract({
|
| 93 |
+
"examples_csv": hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset', filename="test_gold.csv"),
|
| 94 |
+
"images_dir": hf_hub_url(repo_id="nlphuji/vasr", repo_type='dataset',filename="vasr_images.zip")
|
| 95 |
})
|
| 96 |
|
| 97 |
return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs=data_dir)]
|