amazon-science / long-short-term-transformer

[NeurIPS 2021 Spotlight] Official implementation of Long Short-Term Transformer for Online Action Detection
Apache License 2.0
127 stars 19 forks source link

thumos rgb feature extraction #29

Open FedericoCaspani opened 11 months ago

FedericoCaspani commented 11 months ago

Hi, I'm having some issues extracting the rbg features for the thumos dataset. In particular, in the mmaction2 dataset there are two files for feature extraction: https://github.com/open-mmlab/mmaction2/blob/0.x/tools/misc/clip_feature_extraction.py and https://github.com/open-mmlab/mmaction2/blob/0.x/tools/data/activitynet/tsn_feature_extraction.py, which one should I use? There are some parts of the code that I should modify in these files? Thank you for your help

sw1014 commented 11 months ago

Hi, I encountered the same question, have you solved it? Could you please give me some advice?

Chenhongchang commented 10 months ago

Hi, I'm having some issues extracting the rbg features for the thumos dataset. In particular, in the mmaction2 dataset there are two files for feature extraction: https://github.com/open-mmlab/mmaction2/blob/0.x/tools/misc/clip_feature_extraction.py and https://github.com/open-mmlab/mmaction2/blob/0.x/tools/data/activitynet/tsn_feature_extraction.py, which one should I use? There are some parts of the code that I should modify in these files? Thank you for your help

Hi! According to https://github.com/open-mmlab/mmaction2/tree/main/tools/data/activitynet, I think you should use this clip_feature_extraction.py.