janchorowski / kaldi-python

Python wrappers for Kaldi data
Apache License 2.0
61 stars 50 forks source link

what to do when i get -inf? #6

Closed Miail closed 7 years ago

Miail commented 7 years ago

A vector such as [[ 1. 0. 0.]]gets coded into kaldi matrix as [0 -inf -inf ]

Why? and how do i fix it?