Metalhead

Dev CI Coverage

Metalhead.jl provides standard machine learning vision models for use with Flux.jl. The architectures in this package make use of pure Flux layers, and they represent the best-practices for creating modules like residual blocks, inception blocks, etc. in Flux. Metalhead also provides some building blocks for more complex models in the Layers module.

Installation

julia> ]add Metalhead

Getting Started

You can find the Metalhead.jl getting started guide here.

Available models

To contribute new models, see our contributing docs.

Image Classification

Model NameConstructorPre-trained?
AlexNetAlexNetN
ConvMixerConvMixerN
ConvNeXtConvNeXtN
DenseNetDenseNetN
EfficientNetEfficientNetN
EfficientNetv2EfficientNetv2N
gMLPgMLPN
GoogLeNetGoogLeNetN
Inception-v3Inceptionv3N
Inception-v4Inceptionv4N
InceptionResNet-v2InceptionResNetv2N
MLPMixerMLPMixerN
MobileNetv1MobileNetv1N
MobileNetv2MobileNetv2N
MobileNetv3MobileNetv3N
MNASNetMNASNetN
ResMLPResMLPN
ResNetResNetY
ResNeXtResNeXtY
SqueezeNetSqueezeNetY
XceptionXceptionN
WideResNetWideResNetY
VGGVGGY
Vision TransformerViTY

Other Models

Model NameConstructorPre-trained?
UNetUNetN