Skip to content

Commit

Permalink
Update yolo_bricks.py
Browse files Browse the repository at this point in the history
MaxSigmoidAttnBlock Enhancement
  • Loading branch information
JarvisKevin authored Jun 5, 2024
1 parent 4d90f45 commit f5b3623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolo_world/models/layers/yolo_bricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self,
embed_channels % num_heads == 0), \
'out_channels and embed_channels should be divisible by num_heads.'
self.num_heads = num_heads
self.head_channels = out_channels // num_heads
self.head_channels = embed_channels // num_heads
self.use_einsum = use_einsum

self.embed_conv = ConvModule(
Expand Down

0 comments on commit f5b3623

Please sign in to comment.