Skip to content

Commit

Permalink
Apply Bessel correction in fbank conversion (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbalioglu authored Sep 28, 2023
1 parent 3593eca commit c5f0d7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ waveform_to_fbank_converter::operator()(data &&d) const
if (opts_.standardize()) {
at::Tensor stdev{}, mean{};

std::tie(stdev, mean) = at::std_mean(fbank, /*dim=*/0, /*unbiased=*/true);
std::tie(stdev, mean) = at::std_mean(fbank, /*dim=*/0);

fbank = at::divide(at::subtract(fbank, mean), stdev);
}
Expand Down

0 comments on commit c5f0d7e

Please sign in to comment.