Skip to content

Commit b27b84d

Browse files
authoredAug 23, 2024
Remove non-existing argument from docstring (#128)
1 parent de861af commit b27b84d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎segment_anything_fast/modeling/image_encoder.py

-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ def add_decomposed_rel_pos(
346346
Calculate decomposed Relative Positional Embeddings from :paper:`mvitv2`.
347347
https://github.com/facebookresearch/mvit/blob/19786631e330df9f3622e5402b4a419a263a2c80/mvit/models/attention.py # noqa B950
348348
Args:
349-
attn (Tensor): attention map.
350349
q (Tensor): query q in the attention layer with shape (B, q_h * q_w, C).
351350
rel_pos_h (Tensor): relative position embeddings (Lh, C) for height axis.
352351
rel_pos_w (Tensor): relative position embeddings (Lw, C) for width axis.

0 commit comments

Comments
 (0)