Load CAMPPlus weights from safetensors
Description
Load CAMPPlus weights from safetensors
Usage
1load_campplus_weights(model, state_dict, prefix = "speaker_encoder.")
Arguments
model: CAMPPlus modelstate_dict: Named list of tensorsprefix: Prefix for weight keys (default “speaker_encoder.”)
Value
Model with loaded weights