happyharrycn / actionformer_release

Code release for ActionFormer (ECCV 2022)
MIT License
419 stars 77 forks source link

feat_offset #73

Closed jzhao004 closed 1 year ago

jzhao004 commented 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 )

tzzcl commented 1 year ago

Please see the FAQ .

jzhao004 commented 1 year ago

Got it, thank you!