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
1d882eb494
commit
2916f37f8d
@ -816,8 +816,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[0][0][0][0])
|
||||||
|
|
||||||
return x
|
return x
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user