Skip to content

Commit a7d3c3b

Browse files
committed
Update dependencyvit.py
1 parent 10c2c56 commit a7d3c3b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

timm/models/dependencyvit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ def forward_features(self, x: torch.Tensor) -> torch.Tensor:
231231
x = self.patch_drop(x)
232232
x = self.norm_pre(x)
233233
B, N, _ = x.shape
234-
#m = torch.ones(B, 1, 1, N).to(x)
235234
m = torch.Tensor([1]).to(x)
236235
if self.grad_checkpointing and not torch.jit.is_scripting():
237236
x, m = checkpoint_seq(self.blocks, (x, m))

0 commit comments

Comments
 (0)