TitaNetOptions
Options & Configuration · AiDotNet.Audio.Speaker
Configuration options for the TitaNet speaker verification and embedding model.
Inheritance: ModelOptions → TitaNetOptions
For Beginners
TitaNet is NVIDIA’s advanced voice fingerprinting model. It uses efficient convolutions to process speech and creates a compact embedding that uniquely identifies a speaker. It comes in three sizes: Small (S), Medium (M), and Large (L).
How It Works
TitaNet (Koluguri et al., ICASSP 2022) is NVIDIA’s speaker embedding model based on 1D depth-wise separable convolutions with Squeeze-Excitation and global context. TitaNet-L achieves 0.68% EER on VoxCeleb1-O, outperforming ECAPA-TDNN.
Constructors
| Constructor | Summary |
|---|---|
TitaNetOptions() |
Properties
| Property | Summary |
|---|---|
OnnxModelOptions OnnxOptions { get; set; } |
Gets or sets the ONNX runtime options. |
double DefaultThreshold { get; set; } |
Gets or sets the default cosine similarity threshold for verification. |
double DropoutRate { get; set; } |
Gets or sets the dropout rate. |
double LearningRate { get; set; } |
Gets or sets the learning rate for training. |
double MinDurationSeconds { get; set; } |
Gets or sets the minimum audio duration in seconds for reliable embedding. |
double WeightDecay { get; set; } |
Gets or sets the weight decay for regularization. |
int AttentivePoolingDim { get; set; } |
Gets or sets the attentive statistics pooling hidden dimension. |
int ConvKernelSize { get; set; } |
Gets or sets the depth-wise separable convolution kernel size. |
int EmbeddingDim { get; set; } |
Gets or sets the output embedding dimension. |
int EncoderDim { get; set; } |
Gets or sets the encoder hidden dimension. |
int FftSize { get; set; } |
Gets or sets the FFT window size in samples. |
int HopLength { get; set; } |
Gets or sets the hop length between frames in samples. |
int NumEncoderBlocks { get; set; } |
Gets or sets the number of encoder blocks (prolog + body + epilog). |
int NumMels { get; set; } |
Gets or sets the number of mel filterbank channels. |
int SEReductionRatio { get; set; } |
Gets or sets the SE (Squeeze-Excitation) reduction ratio. |
int SampleRate { get; set; } |
Gets or sets the expected audio sample rate in Hz. |
string ModelPath { get; set; } |
Gets or sets the path to the ONNX model file. |
string Variant { get; set; } |
Gets or sets the model variant (S, M, or L). |