Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Dec 8, 2023
1 parent b152e7e commit 74f4368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wespeaker/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def compute_features(samples: np.ndarray, sample_rate: int) -> np.ndarray:
opts.mel_opts.debug_mel = False

fbank = knf.OnlineFbank(opts)
fbank.accept_waveform(sample_rate, samples.tolist())
fbank.accept_waveform(sample_rate, samples)
fbank.input_finished()

features = []
Expand Down

0 comments on commit 74f4368

Please sign in to comment.