ProgramComputer
commited on
Commit
•
ff38499
1
Parent(s):
603988d
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,
|
@@ -300,7 +300,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
300 |
)
|
301 |
|
302 |
for path in paths[conf]:
|
303 |
-
raise Exception(os.path.
|
304 |
dataset_path = next(Path(path).iterdir())
|
305 |
dataset_format = dataset_path.name
|
306 |
for speaker_path in dataset_path.iterdir():
|
|
|
257 |
)
|
258 |
)
|
259 |
|
260 |
+
mapped_paths = dl_manager.download_and_extract(
|
261 |
dict(
|
262 |
(
|
263 |
placeholder_key,
|
|
|
300 |
)
|
301 |
|
302 |
for path in paths[conf]:
|
303 |
+
raise Exception(os.path.isdir(path))
|
304 |
dataset_path = next(Path(path).iterdir())
|
305 |
dataset_format = dataset_path.name
|
306 |
for speaker_path in dataset_path.iterdir():
|