Update README.md
Browse files
README.md
CHANGED
@@ -30,8 +30,6 @@ This repository provides all the necessary tools to perform audio source separat
|
|
30 |
|:-------------:|:--------------:|:--------------:|
|
31 |
| 30-03-21 | 13.7 dB | 12.7 dB |
|
32 |
|
33 |
-
The system expects input recordings sampled at 8kHz (single channel).
|
34 |
-
If your signal has a different sample rate, resample it (e.g, using torchaudio or sox) before using the interface.
|
35 |
|
36 |
## Install SpeechBrain
|
37 |
|
@@ -56,9 +54,10 @@ est_sources = model.separate_file(path='speechbrain/sepformer-wsj02mix/test_mixt
|
|
56 |
|
57 |
torchaudio.save("source1hat.wav", est_sources[:, :, 0].detach().cpu(), 8000)
|
58 |
torchaudio.save("source2hat.wav", est_sources[:, :, 1].detach().cpu(), 8000)
|
59 |
-
|
60 |
-
|
61 |
```
|
|
|
|
|
|
|
62 |
### Inference on GPU
|
63 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
64 |
|
|
|
30 |
|:-------------:|:--------------:|:--------------:|
|
31 |
| 30-03-21 | 13.7 dB | 12.7 dB |
|
32 |
|
|
|
|
|
33 |
|
34 |
## Install SpeechBrain
|
35 |
|
|
|
54 |
|
55 |
torchaudio.save("source1hat.wav", est_sources[:, :, 0].detach().cpu(), 8000)
|
56 |
torchaudio.save("source2hat.wav", est_sources[:, :, 1].detach().cpu(), 8000)
|
|
|
|
|
57 |
```
|
58 |
+
The system expects input recordings sampled at 8kHz (single channel).
|
59 |
+
If your signal has a different sample rate, resample it (e.g, using torchaudio or sox) before using the interface.
|
60 |
+
|
61 |
### Inference on GPU
|
62 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
63 |
|