fixbug for sd and sv

This commit is contained in:
志浩 2023-02-27 14:46:01 +08:00
parent 3b42ace3d4
commit 65d1005fd2

View File

@ -124,9 +124,9 @@ encoder_choices = ClassChoices(
resnet34=ResNet34Diar,
sanm_chunk_opt=SANMEncoderChunkOpt,
data2vec_encoder=Data2VecEncoder,
epaca_dtnn=ECAPA_TDNN,
ecapa_tdnn=ECAPA_TDNN,
),
type_check=AbsEncoder,
type_check=torch.nn.Module,
default="resnet34",
)
speaker_encoder_choices = ClassChoices(
@ -189,6 +189,8 @@ class DiarTask(AbsTask):
specaug_choices,
# --normalize and --normalize_conf
normalize_choices,
# --label_aggregator and --label_aggregator_conf
label_aggregator_choices,
# --model and --model_conf
model_choices,
# --encoder and --encoder_conf