Commit
•
67c7161
1
Parent(s):
1e29afd
Update Flickr8k.py
Browse files- Flickr8k.py +1 -1
Flickr8k.py
CHANGED
@@ -36,7 +36,7 @@ class Dataset(datasets.GeneratorBasedBuilder):
|
|
36 |
"images_dir": hf_hub_url(repo_id=repo_id, repo_type='dataset', filename=f"{_INPUT_IMAGES}.zip")
|
37 |
})
|
38 |
|
39 |
-
return [datasets.SplitGenerator(name=datasets.Split.
|
40 |
|
41 |
|
42 |
def _generate_examples(self, examples_csv, images_dir):
|
|
|
36 |
"images_dir": hf_hub_url(repo_id=repo_id, repo_type='dataset', filename=f"{_INPUT_IMAGES}.zip")
|
37 |
})
|
38 |
|
39 |
+
return [datasets.SplitGenerator(name=datasets.Split.ALL, gen_kwargs=data_dir)]
|
40 |
|
41 |
|
42 |
def _generate_examples(self, examples_csv, images_dir):
|