Views
No views yet
safetensors format.model.safetensorsconfig.jsonmodel-bin/speech_eres2netv2_sv_zh-cn_16k-common/pretrained_eres2netv2.ckpt1.
2|-- config.json
3|-- model.safetensors
4`-- README.mdconfig.json keeps the model metadata used by this project and points
pretrained_model to model.safetensors.1from campplus_sid.inferencer.inferencer import Inferencer
2
3inferencer = Inferencer.from_pretrained(
4 "model-bin/safetensor/speech_eres2netv2_sv_zh-cn_16k-common",
5 device="cpu",
6)1from safetensors.torch import load_file
2
3state_dict = load_file(
4 "model-bin/safetensor/speech_eres2netv2_sv_zh-cn_16k-common/model.safetensors"
5)batch, frames, feature_dimInferencer before the model forward pass.https://github.com/alibaba-damo-academy/3D-Speakermodel.safetensors was validated by loading all tensors and
checking the state dict against the ERes2NetV2 model definition with no missing
or unexpected keys.