The doc page on Working with pre-trained models from Metalhead uses DataAugmentations to crop and normalize an image, however DataAugmentations.jl creates arrays of shape HWC instead of the WHCN format required by Flux.jl.
Related issue: FluxML/DataAugmentation.jl#56 (comment)