Commit
·
a2e9f06
1
Parent(s):
8675421
Update test.py
Browse files
test.py
CHANGED
@@ -296,7 +296,6 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
296 |
|
297 |
def _generate_examples(self, paths, meta_paths):
|
298 |
key = 0
|
299 |
-
raise Exception(paths)
|
300 |
|
301 |
for conf in paths:
|
302 |
dataset_id = "vox1" if conf == "audio1" else "vox2"
|
@@ -306,6 +305,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
306 |
index_col=0,
|
307 |
engine="python",
|
308 |
)
|
|
|
309 |
for path in paths[conf].values():
|
310 |
for file in path:
|
311 |
subdirs = [x[0] for x in os.walk(path)]
|
|
|
296 |
|
297 |
def _generate_examples(self, paths, meta_paths):
|
298 |
key = 0
|
|
|
299 |
|
300 |
for conf in paths:
|
301 |
dataset_id = "vox1" if conf == "audio1" else "vox2"
|
|
|
305 |
index_col=0,
|
306 |
engine="python",
|
307 |
)
|
308 |
+
raise Exception(paths[conf].values())
|
309 |
for path in paths[conf].values():
|
310 |
for file in path:
|
311 |
subdirs = [x[0] for x in os.walk(path)]
|