Datasets:
Languages:
English
Size:
1K<n<10K
ArXiv:
Tags:
iiw
imageinwords
image-descriptions
image-captions
detailed-descriptions
hyper-detailed-descriptions
License:
Upload imageinwords.py
#10
by
Rodeszones
- opened
- imageinwords.py +0 -5
imageinwords.py
CHANGED
@@ -109,11 +109,6 @@ class ImageInWords(datasets.GeneratorBasedBuilder):
|
|
109 |
|
110 |
def _split_generators(self, dl_manager):
|
111 |
"""Returns SplitGenerators."""
|
112 |
-
hf_auth_token = dl_manager.download_config.use_auth_token
|
113 |
-
if hf_auth_token is None:
|
114 |
-
raise ConnectionError(
|
115 |
-
"Please set use_auth_token=True or use_auth_token='<TOKEN>' to download this dataset"
|
116 |
-
)
|
117 |
|
118 |
downloaded_file = dl_manager.download_and_extract(_DATASET_GITHUB_URLS[self.config.name])
|
119 |
if self.config.name == "LocNar_Eval":
|
|
|
109 |
|
110 |
def _split_generators(self, dl_manager):
|
111 |
"""Returns SplitGenerators."""
|
|
|
|
|
|
|
|
|
|
|
112 |
|
113 |
downloaded_file = dl_manager.download_and_extract(_DATASET_GITHUB_URLS[self.config.name])
|
114 |
if self.config.name == "LocNar_Eval":
|