Skip to content

Commit

Permalink
Update ml_decoder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fffffgggg54 committed Dec 29, 2024
1 parent 44f93e9 commit 5c32658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timm/layers/ml_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def __init__(
self.query_embed = None
self.query_dim = 0
self.shared_fc = shared_fc
num_groups = num_classes if num_groups < 1
num_groups = num_classes if num_groups < 1 else num_groups

# case using class embed
if have_class_embed:
Expand Down

0 comments on commit 5c32658

Please sign in to comment.