ProgramComputer
commited on
Commit
•
22ef8b9
1
Parent(s):
c5e718e
Update test.py
Browse files
test.py
CHANGED
@@ -90,7 +90,7 @@ _URLS = {
|
|
90 |
"hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partac",
|
91 |
"hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partad",
|
92 |
),
|
93 |
-
"test": "
|
94 |
},
|
95 |
"audio2": {
|
96 |
"placeholder": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partaa",
|
@@ -306,7 +306,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
306 |
# copyfileobj(tmp, out)
|
307 |
# #tmp_path.unlink()
|
308 |
# raise Exception("HELLO")
|
309 |
-
mapped_paths = dl_manager.download(
|
310 |
dict( (
|
311 |
placeholder_key,
|
312 |
dict(
|
@@ -316,7 +316,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
316 |
)
|
317 |
for placeholder_key in ("test",)
|
318 |
)
|
319 |
-
)
|
320 |
|
321 |
raise Exception(mapped_paths)
|
322 |
|
|
|
90 |
"hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partac",
|
91 |
"hf://datasets/ProgramComputer/voxceleb/vox1/vox1_dev_wav_partad",
|
92 |
),
|
93 |
+
"test": "datasets/ProgramComputer/voxceleb/vox1/vox1_test_wav.zip",
|
94 |
},
|
95 |
"audio2": {
|
96 |
"placeholder": "hf://datasets/ProgramComputer/voxceleb/vox2/vox2_dev_aac_partaa",
|
|
|
306 |
# copyfileobj(tmp, out)
|
307 |
# #tmp_path.unlink()
|
308 |
# raise Exception("HELLO")
|
309 |
+
mapped_paths = dl_manager.extract( dl_manager.download(
|
310 |
dict( (
|
311 |
placeholder_key,
|
312 |
dict(
|
|
|
316 |
)
|
317 |
for placeholder_key in ("test",)
|
318 |
)
|
319 |
+
))
|
320 |
|
321 |
raise Exception(mapped_paths)
|
322 |
|