mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Update metaformers.py
This commit is contained in:
parent
3f0b075367
commit
4ed934e000
@ -819,11 +819,13 @@ class MetaFormer(nn.Module):
|
||||
|
||||
def forward_features(self, x):
|
||||
x = self.patch_embed(x)
|
||||
print('timm')
|
||||
#x = self.stages(x)
|
||||
'''
|
||||
for i, stage in enumerate(self.stages):
|
||||
x=stage(x)
|
||||
#print(x[0][0][0][0])
|
||||
|
||||
'''
|
||||
|
||||
return x
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user