StyleGANOptions

Options & Configuration · AiDotNet.NeuralNetworks.Options

Configuration options for the StyleGAN neural network.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → GanOptions → StyleGANOptions

Constructors

Constructor Summary
StyleGANOptions() Initializes a new instance of the StyleGANOptions class carrying this model’s shipped defaults.

Properties

Property Summary
bool EnableStyleMixing { get; set; } Gets or sets the enable style mixing.
double MappingLearningRateMultiplier { get; set; } Factor applied to the learning rate for the mapping network only.
double R1Gamma { get; set; } Weight gamma of the R1 regulariser, (gamma / 2) * E[ ||grad D(x)||^2 ] over real images.
double StyleMixingProbability { get; set; } Gets or sets the style mixing probability.

Methods

Method Summary
void Validate() Throws if a value this model requires has been left unset or is not positive.