Skip to content

Commit e1dee6c

Browse files
committed
Don't forget to export!
1 parent 0ccfc78 commit e1dee6c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Metalhead.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export AlexNet, VGG, VGG11, VGG13, VGG16, VGG19,
4242
ResNet, ResNet18, ResNet34, ResNet50, ResNet101, ResNet152, ResNeXt,
4343
DenseNet, DenseNet121, DenseNet161, DenseNet169, DenseNet201,
4444
GoogLeNet, Inception3, Inceptionv3, Inceptionv4, InceptionResNetv2, Xception,
45-
SqueezeNet, MobileNetv1, MobileNetv2, MobileNetv3,
45+
SqueezeNet, MobileNetv1, MobileNetv2, MobileNetv3, EfficientNet,
4646
MLPMixer, ResMLP, gMLP,
4747
ViT,
4848
ConvMixer, ConvNeXt

src/convnets/efficientnet.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ function efficientnet(scalings, block_config;
2424
inchannels = 3, nclasses = 1000, max_width = 1280)
2525
wscale, dscale = scalings
2626
out_channels = _round_channels(32, 8)
27-
stem = Chain(Conv((3, 3), inchannels => out_channels;
28-
bias = false, stride = 2, pad = SamePad()),
29-
BatchNorm(out_channels, swish))
27+
stem = conv_bn((3, 3), inchannels, out_channels, swish;
28+
bias = false, stride = 2, pad = SamePad())
3029

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

0 commit comments

Comments
 (0)