cemsubakan
commited on
Commit
·
7788e58
1
Parent(s):
9e2b336
Update README.md
Browse files
README.md
CHANGED
@@ -47,7 +47,7 @@ import torchaudio
|
|
47 |
|
48 |
model = separator.from_hparams(source="speechbrain/sepformer-wsj03mix", savedir='pretrained_models/sepformer-wsj03mix')
|
49 |
|
50 |
-
est_sources = model.separate_file(path='speechbrain/sepformer-
|
51 |
|
52 |
torchaudio.save("source1hat.wav", est_sources[:, :, 0].detach().cpu(), 8000)
|
53 |
torchaudio.save("source2hat.wav", est_sources[:, :, 1].detach().cpu(), 8000)
|
|
|
47 |
|
48 |
model = separator.from_hparams(source="speechbrain/sepformer-wsj03mix", savedir='pretrained_models/sepformer-wsj03mix')
|
49 |
|
50 |
+
est_sources = model.separate_file(path='speechbrain/sepformer-wsj03mix/test_mixture_3spks.wav')
|
51 |
|
52 |
torchaudio.save("source1hat.wav", est_sources[:, :, 0].detach().cpu(), 8000)
|
53 |
torchaudio.save("source2hat.wav", est_sources[:, :, 1].detach().cpu(), 8000)
|