BiMVFIOptions
Options & Configuration · AiDotNet.Video.Options
Configuration options for BiMVFI, bidirectional motion
field-guided frame interpolation (Seo, Oh and Kim, CVPR 2025).
Inheritance: ModelOptions → NeuralNetworkOptions → BiMVFIOptions
For Beginners
BiM-VFI describes how each pixel moves between the frames by a speed ratio and an angle (the bidirectional motion field), estimates the two motions from the in-between time back to each frame coarse-to-fine, and blends the two warped frames into the in-between frame.
How It Works
The defaults are the release’s (KAIST-VICLab/BiM-VFI, cfgs/bim_vfi.yaml and modules/components/bim_vfi): 32 base channels, three pyramid levels, AdamW under a one-cycle schedule with gradient clipping and the six-term loss.
Constructors
| Constructor | Summary |
|---|---|
BiMVFIOptions() |
Initializes a new instance with default values. |
BiMVFIOptions(BiMVFIOptions other) |
Initializes a new instance by copying from another instance. |
Properties
| Property | Summary |
|---|---|
OnnxModelOptions OnnxOptions { get; set; } |
Gets or sets the ONNX runtime options. |
double DistillationWeight { get; set; } |
Gets or sets the weight of the student-to-teacher flow distillation (0.005). |
double FlowLevelDecay { get; set; } |
Gets or sets the per-level weight of the flow losses (0.5). |
double LearningRate { get; set; } |
Gets or sets the one-cycle schedule’s peak AdamW learning rate (1.5e-4). |
double LevelDecay { get; set; } |
Gets or sets the per-level weight of the photometric losses, coarser levels weighted less (0.25). |
double MaxGradientNorm { get; set; } |
Gets or sets the gradient-norm clip (1). |
double RegularizationWeight { get; set; } |
Gets or sets the weight of the teacher’s zero-flow regularization (0.005). |
double SmoothnessEdgeConstant { get; set; } |
Gets or sets the smoothness term’s edge constant (150). |
double SmoothnessWeight { get; set; } |
Gets or sets the weight of the teacher flows’ edge-aware smoothness (0.05). |
double WarmupFraction { get; set; } |
Gets or sets the share of the schedule spent warming up to the peak rate (0.01). |
double WeightDecay { get; set; } |
Gets or sets AdamW’s weight decay (1e-4). |
int FeatureChannels { get; set; } |
Gets or sets the base feature width; the encoders reach four times it (32). |
int PyramidLevels { get; set; } |
Gets or sets the number of image pyramid levels (3, the release’s training value; the paper runs 5 on SNU-FILM and 7 on XTest). |
int TotalIterations { get; set; } |
Gets or sets the one-cycle schedule’s length: 400 epochs of Vimeo90K’s 64,612 septuplets at the paper’s batch of 32. |
string ModelPath { get; set; } |
Gets or sets the path to the ONNX model file. |