Update youtubevis.py

pull/84/merge
Peter Lin 3 years ago committed by GitHub
parent f8a26e2719
commit 81a10937c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,7 @@ class YouTubeVISDataset(Dataset):
self.index = []
for video_id in self.videos.keys():
for frame in range(len(self.videos[video_id])):
for frame in range(len(self.videos[video_id]['file_names'])):
self.index.append((video_id, frame))
def __len__(self):

Loading…
Cancel
Save