ODISEOptions

Options & Configuration · AiDotNet.ComputerVision.Segmentation.Panoptic

Configuration options for ODISE open-vocabulary panoptic segmentation.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → SegmentationModelOptions → ODISEOptions

For Beginners

These options configure the ODISE model. Default values follow the original paper settings.

Constructors

Constructor Summary
ODISEOptions() Initializes a new instance with default values.
ODISEOptions(ODISEOptions other) Initializes a new instance by copying from another instance.

Properties

Property Summary
ODISEModelSize ModelSize { get; set; } Gets or sets which published size variant of the model to build.
double InVocabularyClipWeight { get; set; } Gets or sets the weight alpha of the frozen CLIP image encoder’s prediction for in-vocabulary classes: p = p_diffusion^(1 - alpha) * p_clip^alpha.
double ObjectMaskThreshold { get; set; } Gets or sets the minimum class probability of a query kept by the panoptic merge.
double OutOfVocabularyClipWeight { get; set; } Gets or sets the weight beta of the frozen CLIP image encoder’s prediction for classes not seen in training.
double OverlapThreshold { get; set; } Gets or sets the minimum share of its own mask a query must win to become a segment.
double Temperature { get; set; } Gets or sets the initial temperature tau of the diffusion classifier: its logits are cosine similarities times a learned scale initialized to 1 / tau and clamped at 100 (ODISE’s learnable logit_scale).
int FeedForwardDimension { get; set; } Gets or sets the hidden width of the Mask2Former decoder’s FFN.
int NumAttentionHeads { get; set; } Gets or sets the attention heads of the Mask2Former decoder’s cross- and self-attention.
int NumDecoderLayers { get; set; } Gets or sets the number of masked-attention decoder layers.
int NumQueries { get; set; } Gets or sets the number of mask queries.
int PixelEmbeddingDimension { get; set; } Gets or sets the width of the pixel embedding the queries attend to.
string[] ClassNames { get; set; } Gets or sets the names of the closed-set classes, in class-index order (stuff classes first).
string[] InVocabularyClassNames { get; set; } Gets or sets the class names seen in training (ODISE’s in-vocabulary categories).

Methods

Method Summary
void Validate() Throws when a value on this instance cannot produce a working model.