Commit
·
049e6db
1
Parent(s):
1bab7cb
Update test.py
Browse files
test.py
CHANGED
@@ -309,7 +309,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
309 |
)
|
310 |
|
311 |
for path in paths[conf]:
|
312 |
-
|
313 |
# def find_mount_point(path):
|
314 |
# path = os.path.realpath(path)
|
315 |
# while not os.path.ismount(path):
|
@@ -318,7 +318,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
318 |
# raise Exception(find_mount_point(path))
|
319 |
#subdirs = [x[0] for x in os.walk(path)]
|
320 |
#raise Exception(subdirs)
|
321 |
-
raise Exception(path)
|
322 |
# #raise Exception(os.is_symlink(path))
|
323 |
# #raise Exception(os.listdir(path))
|
324 |
# try:
|
|
|
309 |
)
|
310 |
|
311 |
for path in paths[conf]:
|
312 |
+
raise Exception([x for x in Path(path).glob('**/*')])
|
313 |
# def find_mount_point(path):
|
314 |
# path = os.path.realpath(path)
|
315 |
# while not os.path.ismount(path):
|
|
|
318 |
# raise Exception(find_mount_point(path))
|
319 |
#subdirs = [x[0] for x in os.walk(path)]
|
320 |
#raise Exception(subdirs)
|
321 |
+
#raise Exception(path)
|
322 |
# #raise Exception(os.is_symlink(path))
|
323 |
# #raise Exception(os.listdir(path))
|
324 |
# try:
|