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
1145720bec
commit
0aa784027e
@ -710,7 +710,7 @@ class MetaFormer(nn.Module):
|
||||
|
||||
def forward(self, x):
|
||||
x = self.forward_features(x)
|
||||
x = forward_head(x)
|
||||
x = self.forward_head(x)
|
||||
return x
|
||||
|
||||
def checkpoint_filter_fn(state_dict, model):
|
||||
|
Loading…
x
Reference in New Issue
Block a user