ProgramComputer commited on
Commit
a20e8d6
·
1 Parent(s): 28d6bed

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +5 -4
test.py CHANGED
@@ -305,7 +305,6 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
305
  )
306
 
307
  for path in paths[conf]:
308
- raise Exception(paths)
309
  #raise Exception([x for x in Path(path).glob('**/*')])
310
  # def find_mount_point(path):
311
  # path = os.path.realpath(path)
@@ -315,9 +314,11 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
315
  # raise Exception(find_mount_point(path))
316
  #subdirs = [x[0] for x in os.walk(path)]
317
  #raise Exception(subdirs)
318
- for itera in path:
319
- for file in iter(itera):
320
- raise Exception(iter(itera))
 
 
321
  # #raise Exception(os.is_symlink(path))
322
  # #raise Exception(os.listdir(path))
323
  # try:
 
305
  )
306
 
307
  for path in paths[conf]:
 
308
  #raise Exception([x for x in Path(path).glob('**/*')])
309
  # def find_mount_point(path):
310
  # path = os.path.realpath(path)
 
314
  # raise Exception(find_mount_point(path))
315
  #subdirs = [x[0] for x in os.walk(path)]
316
  #raise Exception(subdirs)
317
+ for itera in path.values():
318
+ array = []
319
+ for file in iter(itera.values()):
320
+ array.append(file)
321
+ raise Exception(array)
322
  # #raise Exception(os.is_symlink(path))
323
  # #raise Exception(os.listdir(path))
324
  # try: