26hzhang / VSLNet

Span-based Localizing Network for Natural Language Video Localization (ACL 2020)
MIT License
100 stars 17 forks source link

max length of tacos ,charades-sta and ActivityNet Cap #13

Closed TAY-985 closed 2 years ago

TAY-985 commented 2 years ago

hello, in a bach ,How do you load video features of different lengths into a tensor? padding them to a max length? if so, what is the max length for tacos ,charades-sta and ActivityNet Cap , respectively?

26hzhang commented 2 years ago

@TAY-985 Yes, padding them to a pre-set max length, you may refer the function pad_video_seq'' inutil/data_util.py''. The max_length is set as 128 for these datasets. And the hyper-param is controlled by --max_pos_len'' inmain.py''.