ProgramComputer commited on
Commit
ba772c9
·
1 Parent(s): 218b10b

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -302,7 +302,7 @@ class VoxCeleb(datasets.GeneratorBasedBuilder):
302
  for path in paths[conf]:
303
  #raise Exception([x for x in Path(path).glob('**/*')])
304
  def find_mount_point(path):
305
- path = os.path.abspath(path)
306
  while not os.path.ismount(path):
307
  path = os.path.dirname(path)
308
  return path
 
302
  for path in paths[conf]:
303
  #raise Exception([x for x in Path(path).glob('**/*')])
304
  def find_mount_point(path):
305
+ path = os.path.realpath(path)
306
  while not os.path.ismount(path):
307
  path = os.path.dirname(path)
308
  return path