import torchaudio.compliance.kaldi as kaldi
import torchaudio
waveform, _ =torchaudio.load(“xxxx/SSB0379-0417.wav”)
mat = kaldi.fbank(
waveform,
num_mel_bins=80,
frame_length=25,
frame_shift=10,
dither=0.0,
energy_floor=0.0,
sample_frequency=16000)
mat1 = kaldi.fbank(
waveform,
num_mel_bins=80,
frame_length=25,
frame_shift=10,
dither=0.0,
energy_floor=0.0,
sample_frequency=16000)
print(mat1)
print(mat)
~
mat1 and mat are slightly different due to the effect of dither. Then will I set dither=0.1 in the test phase will affect the results? My system is an ASR system. Thanks for you help.