Commit
·
5d1ffab
1
Parent(s):
adb1031
Update test.py
Browse files
test.py
CHANGED
@@ -301,9 +301,12 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
|
|
301 |
|
302 |
for path in paths[conf]:
|
303 |
#raise Exception([x for x in Path(path).glob('**/*')])
|
304 |
-
#raise Exception(paths)
|
305 |
-
|
306 |
-
|
|
|
|
|
|
|
307 |
|
308 |
#raise Exception(os.is_symlink(path))
|
309 |
#raise Exception(os.listdir(path))
|
|
|
301 |
|
302 |
for path in paths[conf]:
|
303 |
#raise Exception([x for x in Path(path).glob('**/*')])
|
304 |
+
#raise Exception(paths)
|
305 |
+
try:
|
306 |
+
subdirs = [x[0] for x in os.walk(path)]
|
307 |
+
raise Exception(subdirs)
|
308 |
+
except:
|
309 |
+
print(traceback.format_exc())
|
310 |
|
311 |
#raise Exception(os.is_symlink(path))
|
312 |
#raise Exception(os.listdir(path))
|