Skip to content

Commit

Permalink
Create speaker model config and it to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
amanteur committed Dec 30, 2024
1 parent a06b819 commit 6d3fc3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions oml/configs/extractor/ecapa_tdnn_taoruijie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: ecapa_tdnn
args:
arch: ecapa_tdnn_taoruijie
weights: null
normalise_features: False
2 changes: 2 additions & 0 deletions oml/registry/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from torch import nn

from oml.interfaces.models import IExtractor, IPairwiseModel
from oml.models.audio.ecapa_tdnn.extractor import ECAPATDNNExtractor
from oml.models.meta.projection import ExtractorWithMLP
from oml.models.meta.siamese import (
ConcatSiamese,
Expand All @@ -22,6 +23,7 @@
"vit_clip": ViTCLIPExtractor,
"vit_unicom": ViTUnicomExtractor,
"extractor_with_mlp": ExtractorWithMLP,
"ecapa_tdnn": ECAPATDNNExtractor,
}

PAIRWISE_MODELS_REGISTRY = {
Expand Down

0 comments on commit 6d3fc3a

Please sign in to comment.