public
ResNeXt
— struct
ResNeXt(cardinality, width; block_config, nclasses = 1000)
Create a ResNeXt model (reference).
Arguments
cardinality
: the number of groups to use for the convolutionwidth
: the number of feature maps in each group in the bottleneckblock_config
: a list of the number of residual blocks at each stagenclasses
: the number of output classes
ResNeXt(config::Integer = 50; cardinality = 32, width = 4, pretrain = false, nclasses = 1000)
Create a ResNeXt model with specified configuration. Currently supported values for config
are (50, 101).
(reference).
Set pretrain = true
to load the model with pre-trained weights for ImageNet.
Warning
ResNeXt
does not currently support pretrained weights.
See also Metalhead.resnext
.