crobbi commited on
Commit
929eedf
1 Parent(s): 4f62405

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -40,7 +40,7 @@ def load_data(path: str):
40
  path = bytes.decode(path.numpy())
41
  file_name = path.split('/')[-1].split('.')[0]
42
  # File name splitting for windows
43
- file_name = path.split('\\')[-1].split('.')[0]
44
  video_path = os.path.join('data','s1',f'{file_name}.mpg')
45
  alignment_path = os.path.join('data','alignments','s1',f'{file_name}.align')
46
  frames = load_video(video_path)
 
40
  path = bytes.decode(path.numpy())
41
  file_name = path.split('/')[-1].split('.')[0]
42
  # File name splitting for windows
43
+ # file_name = path.split('\\')[-1].split('.')[0]
44
  video_path = os.path.join('data','s1',f'{file_name}.mpg')
45
  alignment_path = os.path.join('data','alignments','s1',f'{file_name}.align')
46
  frames = load_video(video_path)