Skip to content

Commit

Permalink
refactor: Fixed Mish integration
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Nov 6, 2021
1 parent f8e3181 commit a8b4fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holocron/models/detection/yolov4.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def __init__(
backbone_norm_layer = norm_layer

# backbone
self.backbone = DarknetBodyV4(layout, in_channels, stem_channels, 3, Mish(),
self.backbone = DarknetBodyV4(layout, in_channels, stem_channels, 3, nn.Mish(inplace=True),
backbone_norm_layer, drop_layer, conv_layer)
# neck
self.neck = Neck([1024, 512, 256], act_layer, norm_layer, drop_layer, conv_layer)
Expand Down

0 comments on commit a8b4fdb

Please sign in to comment.