Skip to content

Commit 187208f

Browse files
committed
Update cvt.py
1 parent 1cdedea commit 187208f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

timm/models/cvt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def forward(self, x: torch.Tensor, cls_token: Optional[torch.Tensor]) -> Tuple[t
297297
cls_token, x = torch.split(x, [1, H*W], 1)
298298

299299
x = x.transpose(1, 2).reshape(B, C, H, W)
300-
self.probe(x)
300+
x = self.probe(x)
301301

302302
return x, cls_token
303303

0 commit comments

Comments
 (0)