EfficientNet family of models
This is the API reference for the EfficientNet family of models supported by Metalhead.jl.
Metalhead.EfficientNet
— TypeEfficientNet(config::Symbol; pretrain::Bool = false, inchannels::Integer = 3,
nclasses::Integer = 1000)
Create an EfficientNet model (reference).
Arguments
config
: size of the model. Can be one of[:b0, :b1, :b2, :b3, :b4, :b5, :b6, :b7, :b8]
.pretrain
: set totrue
to load the pre-trained weights for ImageNetinchannels
: number of input channels.nclasses
: number of output classes.
EfficientNet does not currently support pretrained weights.
See also Metalhead.efficientnet
.
Metalhead.EfficientNetv2
— TypeEfficientNetv2(config::Symbol; pretrain::Bool = false, inchannels::Integer = 3,
nclasses::Integer = 1000)
Create an EfficientNetv2 model (reference).
Arguments
config
: size of the network (one of[:small, :medium, :large, :xlarge]
)pretrain
: whether to load the pre-trained weights for ImageNetinchannels
: number of input channelsnclasses
: number of output classes
EfficientNetv2
does not currently support pretrained weights.
See also efficientnet
.