happyharrycn / actionformer_release

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

About window size #23

Closed NooneOnlyOne closed 2 years ago

NooneOnlyOne commented 2 years ago

We found that you tested different window sizes for local self-attention, and I want to know when the window is Full, what the n_mha_win_size should be set to

tzzcl commented 2 years ago

For example, you should set n_mha_win_size to -1 in the config file.

The code are from here.

If mha_win_size >1, local attention is used, otherwise global attention is used.

NooneOnlyOne commented 2 years ago

Thank you for the reply