fixed mltiple video data preperation

This commit is contained in:
Shounak Banerjee
2024-06-17 18:39:15 +00:00
parent af82f3b00f
commit b968548131
3 changed files with 15 additions and 19 deletions

View File

@@ -71,11 +71,6 @@ class Dataset(object):
self.whisper_feature_W = 33
self.whisper_feature_H = 1280
self.whisper_feature_concateW = self.whisper_feature_W*2*(self.use_audio_length_left+self.use_audio_length_right+1) #5*2*2+2+1= 50
# if(self.split=="train"):
# self.all_videos=["../data/images/train"]
# if(self.split=="val"):
# self.all_videos=["../data/images/test"]
with open(json_path, 'r') as file:
self.all_videos = json.load(file)