ProgramComputer
commited on
Commit
·
67be938
1
Parent(s):
10b64bf
Update test.py
Browse files
test.py
CHANGED
@@ -206,7 +206,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
206 |
["audio1", "audio2"] if self.config.name == "audio" else [self.config.name]
|
207 |
)
|
208 |
|
209 |
-
|
210 |
def download_custom(placeholder_url, path):
|
211 |
nonlocal dl_manager
|
212 |
sources = _PLACEHOLDER_MAPS[placeholder_url]
|
@@ -319,13 +319,13 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
319 |
# print(mapped_paths)
|
320 |
|
321 |
return [
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
datasets.SplitGenerator(
|
330 |
name="test",
|
331 |
gen_kwargs={
|
|
|
206 |
["audio1", "audio2"] if self.config.name == "audio" else [self.config.name]
|
207 |
)
|
208 |
|
209 |
+
print("HELLO")
|
210 |
def download_custom(placeholder_url, path):
|
211 |
nonlocal dl_manager
|
212 |
sources = _PLACEHOLDER_MAPS[placeholder_url]
|
|
|
319 |
# print(mapped_paths)
|
320 |
|
321 |
return [
|
322 |
+
datasets.SplitGenerator(
|
323 |
+
name="train",
|
324 |
+
gen_kwargs={
|
325 |
+
"paths": mapped_paths["placeholder"],
|
326 |
+
"meta_paths": metadata,
|
327 |
+
},
|
328 |
+
),
|
329 |
datasets.SplitGenerator(
|
330 |
name="test",
|
331 |
gen_kwargs={
|