From 3cff8d0ff40579fb1d28eec797d244c95ff64bb3 Mon Sep 17 00:00:00 2001 From: Fredo Guan Date: Fri, 16 Dec 2022 02:18:50 -0800 Subject: [PATCH] Update davit.py --- timm/models/davit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timm/models/davit.py b/timm/models/davit.py index c815cb90..061a68bf 100644 --- a/timm/models/davit.py +++ b/timm/models/davit.py @@ -411,7 +411,7 @@ class DaViTStage(nn.Module): self.blocks = nn.Sequential(*stage_blocks) def forward(self, x : Tensor): - x = self.patch_embed(x) + #x = self.patch_embed(x) if self.grad_checkpointing and not torch.jit.is_scripting(): x = checkpoint_seq(self.blocks, x) else: