Update metaformers.py
parent
55d4eb78a2
commit
eaf54b66af
|
@ -614,7 +614,6 @@ class MetaFormerBlock(nn.Module):
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
B, C, H, W = x.shape
|
B, C, H, W = x.shape
|
||||||
x = x.view(B, H, W, C)
|
x = x.view(B, H, W, C)
|
||||||
print(x.shape)
|
|
||||||
x = self.res_scale1(x) + \
|
x = self.res_scale1(x) + \
|
||||||
self.layer_scale1(
|
self.layer_scale1(
|
||||||
self.drop_path1(
|
self.drop_path1(
|
||||||
|
|
Loading…
Reference in New Issue