Skip to content

Commit b0cfd9d

Browse files
committed
Incorrectly named head_hidden_size
1 parent bab52f4 commit b0cfd9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

timm/models/mambaout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def __init__(
384384
drop_rate=drop_rate,
385385
)
386386
self.num_features = prev_dim
387-
self.hidden_size = self.head.num_features
387+
self.head_hidden_size = self.head.num_features
388388

389389
self.apply(self._init_weights)
390390

0 commit comments

Comments
 (0)