Instructions to use espnet/voxcelebs12_rawnet3_espnet3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ESPnet
How to use espnet/voxcelebs12_rawnet3_espnet3 with ESPnet:
unknown model type (must be text-to-speech or automatic-speech-recognition)
- Notebooks
- Google Colab
- Kaggle
ESPnet3 esp2_spk model
Packed model bundle generated from egs3/voxceleb/esp2_spk.
Model
- Repository:
espnet/voxcelebs12_rawnet3_espnet3 - Recipe:
egs3/voxceleb/esp2_spk - Corpus:
voxceleb - System:
esp2_spk - Creator:
popcornell - Created:
2026-11-21T06:01:39 - Branch:
resume-6532 - Git:
298e34f80(clean) - Origin: https://github.com/popcornell/espnet.git
Model summary
- Class:
ESPnetSpeakerVerificationModel - Total parameters:
28,532,866 - Learnable parameters:
28,532,866(100.0%) - Non-trainable parameters:
0 - Parameter size:
114.13 MB - Buffers:
24,345(97.5 KB) - Modules:
103total,82leaf - DType composition:
torch.float32(100.1%), torch.int64(0.0%)
Usage
from espnet3.publication.inference_model import InferenceModel
model = InferenceModel.from_packed("model_pack", trust_user_code=True)
model({"speech": "enroll.wav", "speech2": "test.wav"}) # {'score': ..., ...}
Packaging
- Bundle:
model_pack - Exp dir:
./exp/training_rawnet3_sp_abci1gpu_catbel - Strategy:
copy experiment outputs; include extra recipe assets; apply exclude filters
Results
| dataset | EER | minDCF |
|---|---|---|
| vox1_o | 0.755 | 0.06078 |
EER in %, Vox1-O (cleaned), last-epoch weights (last.pth, epoch 40), 4 evenly
spaced 8-second crops per utterance, cosine scoring, no score normalization.
This reproduces the ESPnet2 recipe
(espnet/voxcelebs12_rawnet3,
0.739% reported), whose released model scores 0.750% EER under the same
protocol. Trained on VoxCeleb 1+2 dev with 0.9/1.0/1.1 speed perturbation,
MUSAN and RIR augmentation, 40 epochs on one GPU (global batch 512, bf16).
Training config
expand
num_device: 1
num_nodes: 1
task: espnet3.systems.esp2_spk.task.SpeakerTask
recipe_dir: .
data_dir: ./data
exp_tag: training_rawnet3_sp_abci1gpu_catbel
exp_dir: ./exp/training_rawnet3_sp_abci1gpu_catbel
create_dataset:
recipe_dir: .
n_workers: 32
dataset:
_target_: espnet3.components.data.data_organizer.DataOrganizer
_recursive_: false
recipe_dir: .
train:
- data_src_args:
data_dir: ./data
split: voxceleb1_dev
speed_perturb_factors:
- 0.9
- 1.0
- 1.1
- data_src_args:
data_dir: ./data
split: voxceleb2_dev
speed_perturb_factors:
- 0.9
- 1.0
- 1.1
valid:
- data_src_args:
data_dir: ./data
split: voxceleb1_test
trials: vox1_o
num_trials: 10000
test: null
preprocessor:
_target_: espnet3.systems.esp2_spk.src.preprocessor.SpkPreprocessor
target_duration: 3.0
sample_rate: 16000
num_eval: 5
spk2utt: ./data/voxceleb12_dev/spk2utt
noise_apply_prob: 0.5
rir_apply_prob: 0.5
speed_perturb_factors:
- 0.9
- 1.0
- 1.1
noise_info:
- - 1.0
- ./data/musan_speech.scp
- - 4
- 7
- - 13
- 20
- - 1.0
- ./data/musan_noise.scp
- - 1
- 1
- - 0
- 15
- - 1.0
- ./data/musan_music.scp
- - 1
- 1
- - 5
- 15
rir_scp: ./data/rirs.scp
_convert_: all
_convert_: all
model:
spk_num: 21615
frontend: asteroid_frontend
frontend_conf:
sinc_stride: 16
sinc_kernel_size: 251
sinc_filters: 256
preemph_coef: 0.97
log_term: 1.0e-06
encoder: rawnet3
encoder_conf:
model_scale: 8
ndim: 1024
output_size: 1536
pooling: chn_attn_stat
projector: rawnet3
projector_conf:
output_size: 192
loss: aamsoftmax_sc_topk
loss_conf:
margin: 0.3
scale: 30
K: 3
mp: 0.06
k_top: 5
optimizer:
_target_: torch.optim.Adam
lr: 0.001
weight_decay: 5.0e-05
amsgrad: false
_convert_: all
scheduler:
_target_: espnet2.schedulers.cosine_anneal_warmup_restart.CosineAnnealingWarmupRestarts
first_cycle_steps: 72690
cycle_mult: 1.0
max_lr: 0.001
min_lr: 5.0e-06
warmup_steps: 1000
gamma: 0.75
_convert_: all
scheduler_interval: step
scheduler_monitor: null
best_model_criterion:
- - valid/eer
- 3
- min
seed: null
init: null
parallel:
env: local
n_workers: 1
dataloader:
collate_fn:
_target_: espnet2.train.collate_fn.CommonCollateFn
int_pad_value: -1
_convert_: all
train:
iter_factory: null
batch_size: 512
num_workers: 14
multiprocessing_context: forkserver
shuffle: true
drop_last: true
pin_memory: true
batch_sampler:
_target_: egs3.voxceleb.esp2_spk.dataset.sampler.SpeakerBalancedBatchSampler
_convert_: all
valid:
iter_factory: null
batch_size: 16
num_workers: 8
multiprocessing_context: forkserver
shuffle: false
drop_last: false
pin_memory: true
trainer:
accelerator: auto
devices: 1
num_nodes: 1
accumulate_grad_batches: 1
check_val_every_n_epoch: 1
gradient_clip_val: 9999
log_every_n_steps: 100
max_epochs: 40
precision: bf16-mixed
callbacks:
- _target_: espnet3.systems.esp2_spk.src.callbacks.SpeakerVerificationScoring
p_target: 0.05
c_miss: 1.0
c_fa: 1.0
_convert_: all
- _target_: espnet3.systems.esp2_spk.src.callbacks.SaveFinalWeights
output_dir: ./exp/training_rawnet3_sp_abci1gpu_catbel
_convert_: all
logger:
- _target_: lightning.pytorch.loggers.TensorBoardLogger
save_dir: ./exp/training_rawnet3_sp_abci1gpu_catbel/tensorboard
name: tb_logger
_convert_: all
strategy: auto
fit:
ckpt_path: last
speed_perturb_factors:
- 0.9
- 1.0
- 1.1
Citing ESPnet-SPK
@inproceedings{jung2024espnet,
title={ESPnet-SPK: full pipeline speaker embedding toolkit with reproducible recipes, self-supervised front-ends, and off-the-shelf models},
author={Jung, Jee-weon and Zhang, Wangyou and Shi, Jiatong and Aldeneh, Zakaria and Higuchi, Takuya and Theobald, Barry-John and Abdelaziz, Ahmed Hussen and Watanabe, Shinji},
booktitle={Interspeech},
year={2024},
}
Citing ESPnet
@inproceedings{watanabe2018espnet,
author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and
Jiro Nishitoba and Yuya Unno and Nelson Yalta and Jahn Heymann and Matthew Wiesner
and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai},
title={{ESPnet}: End-to-End Speech Processing Toolkit},
year={2018},
booktitle={Proceedings of Interspeech},
pages={2207--2211},
doi={10.21437/Interspeech.2018-1456}
}
- Downloads last month
- 22
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support