Closed jzhao004 closed 1 year ago
Hi, may I know what is the purpose of the feat_offset in the Thumos14 dataset class?
feat_offset = 0.5 * self.num_frames / feat_stride
segments = torch.from_numpy( video_item['segments'] * video_item['fps'] / feat_stride - feat_offset )
Please see the FAQ .
Got it, thank you!
Hi, may I know what is the purpose of the feat_offset in the Thumos14 dataset class?
feat_offset = 0.5 * self.num_frames / feat_stride
segments = torch.from_numpy( video_item['segments'] * video_item['fps'] / feat_stride - feat_offset )