Skip to content

Commit

Permalink
Fix default_cfg test for mobilenet_100
Browse files Browse the repository at this point in the history
  • Loading branch information
rwightman committed Jul 9, 2024
1 parent d5afe10 commit 644abf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timm/models/efficientnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def __init__(
else:
self.conv_head = nn.Identity()
self.bn2 = nn.Identity()
self.num_features = head_chs
self.num_features = self.head_hidden_size = head_chs

self.global_pool, self.classifier = create_classifier(
self.num_features, self.num_classes, pool_type=global_pool)
Expand Down

0 comments on commit 644abf9

Please sign in to comment.