FMix<T>

Models & Types · AiDotNet.Augmentation.Image

FMix augmentation (Harris et al., 2020) - mixes images using Fourier-space masks.

Inheritance: AugmentationBase<T, ImageTensor<T>> → LabelMixingAugmentationBase<T, ImageTensor<T>> → ImageMixingAugmenterBase<T> → FMix<T>

Constructors

Constructor Summary
FMix(double alpha, double decayPower, double probability)

Properties

Property Summary
double DecayPower { get; }

Methods

Method Summary
IDictionary<string, object> GetParameters()
ImageTensor<T> ApplyFMix(ImageTensor<T> image1, ImageTensor<T> image2, Vector<T> labels1, Vector<T> labels2, AugmentationContext<T> context) Mixes two images using a Fourier-space generated mask.