ProgramComputer
commited on
Commit
•
6f7b13c
1
Parent(s):
c69e8d8
Update test.py
Browse files
test.py
CHANGED
@@ -257,7 +257,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
257 |
)
|
258 |
)
|
259 |
|
260 |
-
mapped_paths = dl_manager.
|
261 |
dict(
|
262 |
(
|
263 |
placeholder_key,
|
@@ -275,14 +275,14 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
275 |
datasets.SplitGenerator(
|
276 |
name="train",
|
277 |
gen_kwargs={
|
278 |
-
"paths":
|
279 |
"meta_paths": metadata,
|
280 |
},
|
281 |
),
|
282 |
datasets.SplitGenerator(
|
283 |
name="test",
|
284 |
gen_kwargs={
|
285 |
-
"paths": mapped_paths["test"],
|
286 |
"meta_paths": metadata,
|
287 |
},
|
288 |
),
|
|
|
257 |
)
|
258 |
)
|
259 |
|
260 |
+
mapped_paths = dl_manager.download_and_extract(
|
261 |
dict(
|
262 |
(
|
263 |
placeholder_key,
|
|
|
275 |
datasets.SplitGenerator(
|
276 |
name="train",
|
277 |
gen_kwargs={
|
278 |
+
"paths":mapped_paths["dev"],
|
279 |
"meta_paths": metadata,
|
280 |
},
|
281 |
),
|
282 |
datasets.SplitGenerator(
|
283 |
name="test",
|
284 |
gen_kwargs={
|
285 |
+
"paths": mapped_paths["test"],
|
286 |
"meta_paths": metadata,
|
287 |
},
|
288 |
),
|