RealESRGANOptions
Options & Configuration · AiDotNet.Video.Options
Configuration options for the RealESRGAN super-resolution model.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → VideoHyperparameterOptions → RealESRGANOptions
Constructors
| Constructor | Summary |
|---|---|
RealESRGANOptions() |
Initializes a new instance of the RealESRGANOptions class carrying this model’s shipped defaults. |
Properties
| Property | Summary |
|---|---|
double GanLambda { get; set; } |
Gets or sets the gan lambda. |
double L1Lambda { get; set; } |
Gets or sets the l1 lambda. |
double PerceptualLambda { get; set; } |
Gets or sets the perceptual lambda. |
double ResidualScale { get; set; } |
Gets or sets the residual scale. |
int NumRRDBBlocks { get; set; } |
Gets or sets the num r r d b blocks. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |