idiap / pkwrap

A pytorch wrapper for LF-MMI training and parallel training in Kaldi
Other
73 stars 12 forks source link

Decoding error #22

Closed iezhanqingran closed 3 years ago

iezhanqingran commented 3 years ago

Hi, I have trained the model successlly, but when I tested the model , I got the following error: image

Do you have ideas how to solve it? Thanks, Qingran

mrsrikanth commented 3 years ago

Hi,

Did you modify the code? I suspect there is a print statement somewhere being directed to stdout.

Srikanth

iezhanqingran commented 3 years ago

I modified the code in local/chain/tuning/tdnnf.py to change the model structure. The full log is; image

mrsrikanth commented 3 years ago

Can you do a git diff and check what are the things you have changed? I still suspect that there is a print statement somewhere that is printing a tensor's shape. I can't find any such thing in the current version.

iezhanqingran commented 3 years ago

Hi.

I found the print somewhere and now it works.

Thanks, Qingran