load_campplus_weights

Load CAMPPlus weights from safetensors

Description

Load CAMPPlus weights from safetensors

Usage

1load_campplus_weights(model, state_dict, prefix = "speaker_encoder.")

Arguments

  • model: CAMPPlus model
  • state_dict: Named list of tensors
  • prefix: Prefix for weight keys (default “speaker_encoder.”)

Value

Model with loaded weights