Update davit.py

pull/1630/head
Fredo Guan 2 years ago
parent b123b20ffb
commit b1400959f6

@ -579,7 +579,7 @@ class DaViT(nn.Module):
def forward_features(self, x):
#x, sizes = self.forward_network(x)
size: Tuple[int, int] = (x.size(2), x.size(3))
x, size = stages(x, size)
x, size = self.stages(x, size)
# take final feature and norm
x = self.norms(x)

Loading…
Cancel
Save