cemsubakan commited on
Commit
695ffad
1 Parent(s): d0304fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -1
README.md CHANGED
@@ -66,9 +66,13 @@ pip install speechbrain
66
 
67
  Please notice that we encourage you to read our tutorials and learn more about [SpeechBrain](https://speechbrain.github.io).
68
 
69
- ### Perform source separation on your own audio file
70
 
71
  ```python
 
 
 
 
72
  model = separator.from_hparams(source="speechbrain/sepformer-whamr", savedir='pretrained_models/sepformer-whamr2')
73
  est_sources = model.separate_file(path='speechbrain/sepformer-wsj02mix/test_mixture.wav')
74
 
 
66
 
67
  Please notice that we encourage you to read our tutorials and learn more about [SpeechBrain](https://speechbrain.github.io).
68
 
69
+ ### Minimal example for SI-SNR estimation
70
 
71
  ```python
72
+ from speechbrain.pretrained import SepformerSeparation as separator
73
+ from speechbrain.pretrained.interfaces import SNREstimator as snrest
74
+ import torchaudio
75
+
76
  model = separator.from_hparams(source="speechbrain/sepformer-whamr", savedir='pretrained_models/sepformer-whamr2')
77
  est_sources = model.separate_file(path='speechbrain/sepformer-wsj02mix/test_mixture.wav')
78