Skip to content

Commit

Permalink
Remove non-existing argument from docstring (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 authored Aug 23, 2024
1 parent de861af commit b27b84d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion segment_anything_fast/modeling/image_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ def add_decomposed_rel_pos(
Calculate decomposed Relative Positional Embeddings from :paper:`mvitv2`.
https://github.com/facebookresearch/mvit/blob/19786631e330df9f3622e5402b4a419a263a2c80/mvit/models/attention.py # noqa B950
Args:
attn (Tensor): attention map.
q (Tensor): query q in the attention layer with shape (B, q_h * q_w, C).
rel_pos_h (Tensor): relative position embeddings (Lh, C) for height axis.
rel_pos_w (Tensor): relative position embeddings (Lw, C) for width axis.
Expand Down

0 comments on commit b27b84d

Please sign in to comment.