mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-09 01:52:39 +00:00
Update readme to include whisper (#83)
This commit is contained in:
parent
01aed93b1b
commit
20379449fc
15
README.md
15
README.md
@ -23,6 +23,21 @@ please see <https://github.com/csukuangfj/kaldi-native-fbank>
|
|||||||
<th>Usage</th>
|
<th>Usage</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>Fbank for <a href="https://github.com/openai/whisper">Whisper</a></td>
|
||||||
|
<td><code>kaldifeat.WhisperFbankOptions</code></td>
|
||||||
|
<td><code>kaldifeat.WhisperFbank</code></td>
|
||||||
|
<td>
|
||||||
|
<pre lang="python">
|
||||||
|
opts = kaldifeat.WhisperFbankOptions()
|
||||||
|
opts.device = torch.device('cuda', 0)
|
||||||
|
fbank = kaldifeat.WhisperFbank(opts)
|
||||||
|
features = fbank(wave)
|
||||||
|
</pre>
|
||||||
|
See <a href="https://github.com/csukuangfj/kaldifeat/pull/82">#82</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>FBANK</td>
|
<td>FBANK</td>
|
||||||
<td><code>kaldifeat.FbankOptions</code></td>
|
<td><code>kaldifeat.FbankOptions</code></td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user