Mirco commited on
Commit
70ab976
1 Parent(s): 4344723

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -3
README.md CHANGED
@@ -38,10 +38,13 @@ This system is composed of an wav2vec2 model. It is a combination of convolution
38
 
39
  ## Install SpeechBrain
40
 
41
- First of all, please install SpeechBrain with the following command:
42
 
43
  ```
44
- pip install speechbrain
 
 
 
45
  ```
46
 
47
  Please notice that we encourage you to read our tutorials and learn more about
@@ -52,7 +55,7 @@ Please notice that we encourage you to read our tutorials and learn more about
52
  ```python
53
  import torchaudio
54
  from speechbrain.pretrained.interfaces import EncoderWav2vecClassifier
55
- classifier = EncoderWav2vecClassifier.from_hparams(source="speechbrain/emotion-recognition-wav2vec2")
56
  signal, fs =torchaudio.load('/workspace/emotion-recognition-wav2vec2/anger.wav')
57
  prediction = classifier.classify_batch(sig)
58
  ```
 
38
 
39
  ## Install SpeechBrain
40
 
41
+ First of all, please install the **development** version of SpeechBrain with the following command:
42
 
43
  ```
44
+ git clone https://github.com/speechbrain/speechbrain.git
45
+ cd speechbrain
46
+ pip install -r requirements.txt
47
+ pip install --editable .
48
  ```
49
 
50
  Please notice that we encourage you to read our tutorials and learn more about
 
55
  ```python
56
  import torchaudio
57
  from speechbrain.pretrained.interfaces import EncoderWav2vecClassifier
58
+ classifier = EncoderWav2vecClassifier.from_hparams(source="speechbrain/emotion-recognition-wav2vec2-IEMOCAP")
59
  signal, fs =torchaudio.load('/workspace/emotion-recognition-wav2vec2/anger.wav')
60
  prediction = classifier.classify_batch(sig)
61
  ```