Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #23 from glenn-jocher/patch-2
Browse files Browse the repository at this point in the history
Update ghost_net.py
  • Loading branch information
iamhankai committed Apr 11, 2020
2 parents 2c90e67 + 9716675 commit 8c601df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghost_net.py
Expand Up @@ -98,7 +98,7 @@ def __init__(self, inp, hidden_dim, oup, kernel_size, stride, use_se):
self.shortcut = nn.Sequential()
else:
self.shortcut = nn.Sequential(
depthwise_conv(inp, inp, 3, stride, relu=True),
depthwise_conv(inp, inp, kernet_size, stride, relu=False),
nn.Conv2d(inp, oup, 1, 1, 0, bias=False),
nn.BatchNorm2d(oup),
)
Expand Down

0 comments on commit 8c601df

Please sign in to comment.