Snowdar / asv-subtools

An Open Source Tools for Speaker Recognition
Apache License 2.0
592 stars 135 forks source link

当使用ResNet模型进行迁移的问题 #73

Open Lijingze666 opened 1 year ago

Lijingze666 commented 1 year ago

Hello, when I replaced the TDNN model with resnet-xvector.py in your model for Transfer learning, the following errors occurred during scoring. All but the loss layer were migrated. I hope to get your answer. Looking forward to your reply.Thank you.

ERROR (ivector-compute-plda[5.5]:Cholesky():tp-matrix.cc:110) Cholesky decomposition failed. Maybe matrix is not positive definite.

[ Stack-Trace: ] /home/yqc/kaldi-master/src/lib/libkaldi-base.so(kaldi::MessageLogger::LogMessage() const+0xb42) [0x7f68e936c732] ivector-compute-plda(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x21) [0x564450bdc4e9] /home/yqc/kaldi-master/src/lib/libkaldi-matrix.so(kaldi::TpMatrix::Cholesky(kaldi::SpMatrix const&)+0x1b1) [0x7f68e95d73d1] /home/yqc/kaldi-master/src/lib/libkaldi-ivector.so(+0x1b99a) [0x7f68e9a7399a] /home/yqc/kaldi-master/src/lib/libkaldi-ivector.so(kaldi::PldaEstimator::GetOutput(kaldi::Plda)+0x1c6) [0x7f68e9a75e00] /home/yqc/kaldi-master/src/lib/libkaldi-ivector.so(kaldi::PldaEstimator::Estimate(kaldi::PldaEstimationConfig const&, kaldi::Plda)+0x195) [0x7f68e9a76617] ivector-compute-plda(main+0xd13) [0x564450bdb86d] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f68e894bc87] ivector-compute-plda(_start+0x2a) [0x564450bdaa7a]

kaldi::KaldiFatalError(subtools)

wangers commented 1 year ago

It seems error occurs when compute ivector, this is related to kaldi. first make sure your kaldi is successfully installed, then check the plda shell scripts, maybe there is some configuration should be set to your data.