Commit
•
5c6c3cf
1
Parent(s):
c73c44d
Upload SOCKET.py
Browse files
SOCKET.py
CHANGED
@@ -151,7 +151,7 @@ class SOCKET(datasets.GeneratorBasedBuilder):
|
|
151 |
type=key,
|
152 |
sub_type=None,
|
153 |
version=datasets.Version("1.1.0"),
|
154 |
-
description=f"This part of my dataset covers {key} part of
|
155 |
)
|
156 |
for key in list(TASK_NAMES)
|
157 |
]
|
@@ -364,8 +364,11 @@ class SOCKET(datasets.GeneratorBasedBuilder):
|
|
364 |
|
365 |
def _split_generators(self, dl_manager):
|
366 |
"""Returns SplitGenerators."""
|
|
|
367 |
my_urls = _URLs[self.config.type]
|
|
|
368 |
data_dir = dl_manager.download_and_extract(my_urls)
|
|
|
369 |
return [
|
370 |
datasets.SplitGenerator(
|
371 |
name=datasets.Split.TRAIN,
|
|
|
151 |
type=key,
|
152 |
sub_type=None,
|
153 |
version=datasets.Version("1.1.0"),
|
154 |
+
description=f"This part of my dataset covers {key} part of the SocKET Dataset.",
|
155 |
)
|
156 |
for key in list(TASK_NAMES)
|
157 |
]
|
|
|
364 |
|
365 |
def _split_generators(self, dl_manager):
|
366 |
"""Returns SplitGenerators."""
|
367 |
+
print("Testing _split_generators")
|
368 |
my_urls = _URLs[self.config.type]
|
369 |
+
print('my_urls: ',my_urls)
|
370 |
data_dir = dl_manager.download_and_extract(my_urls)
|
371 |
+
print('data_dir: ',data_dir)
|
372 |
return [
|
373 |
datasets.SplitGenerator(
|
374 |
name=datasets.Split.TRAIN,
|