happyharrycn / actionformer_release

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

SlowFast feature extraction #91

Closed Guilleuz closed 1 year ago

Guilleuz commented 1 year ago

Hi!, thanks for the great work.

I was wondering if you could help me out with the feature extraction from the SlowFast model, as I have a dataset very similar to Epic Kitchens and I was trying to train and evaluate ActionFormer with it. I have tried using some tools (Gluoncv and SlowFast Feature Extractor) but when training using the features obtained the scores where really low, not much higher than 0% for both nouns and verbs.

Thank you in advance.

tzzcl commented 1 year ago

For your question, I think you may check the fps and feat_stride config in the config file according to your feature extraction settings.

Guilleuz commented 1 year ago

Hello, the features where extracted from 32-frame clips at 25 fps, using an 8-frame temporal stride. I tried the model using those same values for num_frames, default_fps and feat_stride but the scores were just as low as before.

tzzcl commented 1 year ago

For your questions, it may come from multiple sides:

  1. The feature extraction part, you may use a classification task to verify your pre-trained models are correctly loaded.
  2. I think you may check your training log to find if the model does not converge or have other issues.
happyharrycn commented 1 year ago

Extracting video features could be a bit tricky. I will list a few potential pitfalls for your reference. If further help is needed, feel free to send us an email.

Guilleuz commented 1 year ago

Thank you both! I will look into it and see if I can get better scores.

happyharrycn commented 1 year ago

I will mark this as closed. Feel free to re-open this issue or send us an email if this is not resolved.

emptybird commented 10 months ago

Hello, the features where extracted from 32-frame clips at 25 fps, using an 8-frame temporal stride. I tried the model using those same values for num_frames, default_fps and feat_stride but the scores were just as low as before.

May I inquire how you utilized slowfast_feature_extractor to implement custom temporal stride?