asv-subtools icon indicating copy to clipboard operation
asv-subtools copied to clipboard

subtools/pytorch/pipeline/export_jit_model.sh 导出模型报错

Open brain0915 opened this issue 2 years ago • 2 comments

使用export_jit_model导出训练好的模型时候报错,有人碰到过吗

RuntimeError: Module 'Xvector' has no attribute 'embd_dim' : File "/work/kaldi/egs/xmuspeech/sre/exp/standard_voxceleb1/config/snowdar_xvector.py", line 337

brain0915 avatar Aug 07 '23 07:08 brain0915

需要添加这个变量的命名,具体可以查看下ecapa_tdnn.py的写法。

sssyousen avatar Aug 16 '23 09:08 sssyousen

感谢回答,已解决

brain0915 avatar Oct 08 '23 02:10 brain0915