Update metaformers.py

pull/1647/head
Fredo Guan 2 years ago
parent 3f0b075367
commit 4ed934e000

@ -819,11 +819,13 @@ class MetaFormer(nn.Module):
def forward_features(self, x): def forward_features(self, x):
x = self.patch_embed(x) x = self.patch_embed(x)
print('timm')
#x = self.stages(x) #x = self.stages(x)
'''
for i, stage in enumerate(self.stages): for i, stage in enumerate(self.stages):
x=stage(x) x=stage(x)
#print(x[0][0][0][0]) #print(x[0][0][0][0])
'''
return x return x

Loading…
Cancel
Save