Update metaformers.py

pull/1647/head
Fredo Guan 2 years ago
parent 808f4a7ebd
commit 6b6510f30a

@ -819,7 +819,10 @@ class MetaFormer(nn.Module):
def forward_features(self, x): def forward_features(self, x):
x = self.patch_embed(x) x = self.patch_embed(x)
x = self.stages(x) #x = self.stages(x)
for i, stage in enumerate(self.stages):
x=stage(x)
print(x)
return x return x

Loading…
Cancel
Save