Update metaformers.py

This commit is contained in:
Fredo Guan 2023-01-08 11:22:55 -08:00
parent 1145720bec
commit 0aa784027e

View File

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