ProgramComputer
commited on
Commit
•
8424c41
1
Parent(s):
8a798a6
Update test.py
Browse files
test.py
CHANGED
@@ -275,10 +275,10 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
275 |
|
276 |
#mapped_paths["test"] = {k:tuple(dl_manager.iter_files(e) for e in v) for k, v in mapped_paths["test"].items()}
|
277 |
#mapped_paths["dev"] = {k:tuple(dl_manager.iter_files(e) for e in v) for k, v in mapped_paths["dev"].items()}
|
278 |
-
|
279 |
-
mapped_paths["test"] = {k: tuple(f for value in v.values() for f in dl_manager.iter_files(value) ) for k, v in mapped_paths["test"].items()}
|
280 |
mapped_paths["dev"] = {k: tuple(f for value in v.values() for f in dl_manager.iter_files(value) ) for k, v in mapped_paths["dev"].items()}
|
281 |
-
|
|
|
282 |
return [
|
283 |
datasets.SplitGenerator(
|
284 |
name="train",
|
|
|
275 |
|
276 |
#mapped_paths["test"] = {k:tuple(dl_manager.iter_files(e) for e in v) for k, v in mapped_paths["test"].items()}
|
277 |
#mapped_paths["dev"] = {k:tuple(dl_manager.iter_files(e) for e in v) for k, v in mapped_paths["dev"].items()}
|
278 |
+
mapped_paths["test"] = {k: tuple(f for f in dl_manager.iter_files(v) ) for k, v in mapped_paths["test"].items()}
|
|
|
279 |
mapped_paths["dev"] = {k: tuple(f for value in v.values() for f in dl_manager.iter_files(value) ) for k, v in mapped_paths["dev"].items()}
|
280 |
+
raise Exception(mapped_paths)
|
281 |
+
|
282 |
return [
|
283 |
datasets.SplitGenerator(
|
284 |
name="train",
|