diff --git a/sam2/modeling/backbones/hieradet.py b/sam2/modeling/backbones/hieradet.py index 52051ff..973d622 100644 --- a/sam2/modeling/backbones/hieradet.py +++ b/sam2/modeling/backbones/hieradet.py @@ -47,7 +47,6 @@ class MultiScaleAttention(nn.Module): self.dim = dim self.dim_out = dim_out self.num_heads = num_heads - self.q_pool = q_pool self.qkv = nn.Linear(dim, dim_out * 3) self.proj = nn.Linear(dim_out, dim_out)