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
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…
x
Reference in New Issue
Block a user