alibabasglab commited on
Commit
7f6bcd0
·
verified ·
1 Parent(s): 27ef3d7

Update utils/video_process.py

Browse files
Files changed (1) hide show
  1. utils/video_process.py +1 -1
utils/video_process.py CHANGED
@@ -31,7 +31,7 @@ def process_tse(args, model, device, data_reader, output_wave_dir):
31
  with torch.no_grad():
32
  for videoPath in data_reader: # Loop over all video samples
33
  savFolder = videoPath.split('/')[-1]
34
- video_args.savePath = f'{output_wave_dir}/{savFolder[:-4]}/'
35
  video_args.videoPath = videoPath
36
  main(video_args, args)
37
 
 
31
  with torch.no_grad():
32
  for videoPath in data_reader: # Loop over all video samples
33
  savFolder = videoPath.split('/')[-1]
34
+ video_args.savePath = f'{output_wave_dir}/{savFolder.split(".")[0]}/'
35
  video_args.videoPath = videoPath
36
  main(video_args, args)
37