Update metaformers.py

pull/1647/head
Fredo Guan 2 years ago
parent 55d4eb78a2
commit eaf54b66af

@ -614,7 +614,6 @@ class MetaFormerBlock(nn.Module):
def forward(self, x):
B, C, H, W = x.shape
x = x.view(B, H, W, C)
print(x.shape)
x = self.res_scale1(x) + \
self.layer_scale1(
self.drop_path1(

Loading…
Cancel
Save