This commit is contained in:
Zhongjie Duan
2025-02-27 11:06:10 +08:00
committed by GitHub
parent 7792017a02
commit 25a247dd3f

View File

@@ -76,7 +76,7 @@ class TextVideoDataset(torch.utils.data.Dataset):
def __getitem__(self, data_id):
text = self.path[data_id]
text = self.text[data_id]
path = self.path[data_id]
video = self.load_video(path)
data = {"text": text, "video": video, "path": path}