|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|