sangeet2020
commited on
Commit
•
2d35914
1
Parent(s):
037093b
modify repo name
Browse files
README.md
CHANGED
@@ -17,7 +17,18 @@ metrics:
|
|
17 |
- SI-SNR
|
18 |
- PESQ
|
19 |
- SDR
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
---
|
22 |
|
23 |
<iframe src="https://ghbtns.com/github-btn.html?user=speechbrain&repo=speechbrain&type=star&count=true&size=large&v=2" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
|
@@ -49,10 +60,10 @@ Please notice that we encourage you to read our tutorials and learn more about [
|
|
49 |
from speechbrain.pretrained import SepformerSeparation as separator
|
50 |
import torchaudio
|
51 |
|
52 |
-
model = separator.from_hparams(source="speechbrain/
|
53 |
|
54 |
# for custom file, change path
|
55 |
-
est_sources = model.separate_file(path='speechbrain/
|
56 |
|
57 |
torchaudio.save("enhanced_rescuespeech16k.wav", est_sources[:, :, 0].detach().cpu(), 16000)
|
58 |
|
|
|
17 |
- SI-SNR
|
18 |
- PESQ
|
19 |
- SDR
|
20 |
+
model-index:
|
21 |
+
- name: rescuespeech_sepformer
|
22 |
+
results:
|
23 |
+
- task:
|
24 |
+
name: Speech Enhancement
|
25 |
+
type: speech-enhancement
|
26 |
+
dataset:
|
27 |
+
name: RescueSpeech
|
28 |
+
config: de
|
29 |
+
split: test
|
30 |
+
args:
|
31 |
+
language: de
|
32 |
---
|
33 |
|
34 |
<iframe src="https://ghbtns.com/github-btn.html?user=speechbrain&repo=speechbrain&type=star&count=true&size=large&v=2" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
|
|
|
60 |
from speechbrain.pretrained import SepformerSeparation as separator
|
61 |
import torchaudio
|
62 |
|
63 |
+
model = separator.from_hparams(source="speechbrain/rescuespeech_sepformer", savedir='pretrained_models/rescuespeech_sepformer')
|
64 |
|
65 |
# for custom file, change path
|
66 |
+
est_sources = model.separate_file(path='speechbrain/rescuespeech_sepformer/example_rescuespeech16k.wav')
|
67 |
|
68 |
torchaudio.save("enhanced_rescuespeech16k.wav", est_sources[:, :, 0].detach().cpu(), 16000)
|
69 |
|