Skip to content

Commit

Permalink
comment out unnecessary output check and print in Kaldi2Reader that c…
Browse files Browse the repository at this point in the history
…auses problems with non-probability outputs
  • Loading branch information
Hakan Erdogan committed Jul 30, 2015
1 parent 433cab1 commit d8c5334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DataReader/Kaldi2Reader/HTKMLFWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ namespace Microsoft { namespace MSR { namespace CNTK {
for (int i=0; i<outputData.GetNumRows(); i++)
{
nnet_out_host(j,i) = (float)*pValue++;
/*
if (nnet_out_host(j,i) > 50)
{
nnet_out_host(j,i) = -(float)log(1.0/outputData.GetNumCols());
Expand All @@ -208,7 +209,7 @@ namespace Microsoft { namespace MSR { namespace CNTK {
fprintf (stderr, "overflowed!! : %d %d frames of %s\n", i,j, wfea.c_str());
}
}

*/

}
}
Expand Down

0 comments on commit d8c5334

Please sign in to comment.