Skip to content

Commit

Permalink
Don't forget to export!
Browse files Browse the repository at this point in the history
  • Loading branch information
darsnack committed Jun 19, 2022
1 parent d54f74b commit 79f993b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Metalhead.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export AlexNet, VGG, VGG11, VGG13, VGG16, VGG19,
ResNet, ResNet18, ResNet34, ResNet50, ResNet101, ResNet152, ResNeXt,
DenseNet, DenseNet121, DenseNet161, DenseNet169, DenseNet201,
GoogLeNet, Inception3, Inceptionv3, Inceptionv4, InceptionResNetv2, Xception,
SqueezeNet, MobileNetv1, MobileNetv2, MobileNetv3,
SqueezeNet, MobileNetv1, MobileNetv2, MobileNetv3, EfficientNet,
MLPMixer, ResMLP, gMLP,
ViT,
ConvMixer, ConvNeXt
Expand Down
5 changes: 2 additions & 3 deletions src/convnets/efficientnet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ function efficientnet(scalings, block_config;
inchannels = 3, nclasses = 1000, max_width = 1280)
wscale, dscale = scalings
out_channels = _round_channels(32, 8)
stem = Chain(Conv((3, 3), inchannels => out_channels;
bias = false, stride = 2, pad = SamePad()),
BatchNorm(out_channels, swish))
stem = conv_bn((3, 3), inchannels, out_channels, swish;
bias = false, stride = 2, pad = SamePad())

blocks = []
for (n, k, s, e, i, o) in block_config
Expand Down

0 comments on commit 79f993b

Please sign in to comment.