You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Swin Transformer V2, as proposed using Log-Space CPB,
In the code implementation, log-spaced coordinates are generated when transferring across window sizes through relative_coords_table like in this code snippet.
In Swin Transformer V2, as proposed using Log-Space CPB,
In the code implementation, log-spaced coordinates are generated when transferring across window sizes through
relative_coords_table
like in this code snippet.Swin-Transformer/models/swin_transformer_v2.py
Lines 109 to 111 in f92123a
I have two questions:
8
andnp.log2(8)
? Why do you do that ?relative_coords_table
by 8 and remove the afterwards divided bynp.log2(8)
, what has changed?The text was updated successfully, but these errors were encountered: