File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
AI-and-Analytics/End-to-end-Workloads/LanguageIdentification Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export COMMON_VOICE_PATH=/data/commonVoice
100
100
101
101
3 . Install packages needed for MP3 to WAV conversion
102
102
``` bash
103
- sudo apt-get update && apt-get install ffmpeg libgl1
103
+ sudo apt-get update && apt-get install -y ffmpeg libgl1
104
104
```
105
105
106
106
4 . Navigate to your working directory, clone the ` oneapi-src ` repository, and navigate to this code sample.
@@ -120,7 +120,7 @@ This section explains how to train a model for language identification using the
120
120
121
121
First, change to the ` Training ` directory.
122
122
```
123
- cd /Training
123
+ cd . /Training
124
124
```
125
125
126
126
### Option 1: Run in Jupyter Notebook
@@ -149,9 +149,9 @@ If you cannot or do not want to use Jupyter Notebook, use these procedures to ru
149
149
150
150
1 . Acquire copies of the training scripts. (The command retrieves copies of the required VoxLingua107 training scripts from SpeechBrain.)
151
151
```
152
- cp speechbrain/recipes/VoxLingua107/lang_id/create_wds_shards.py create_wds_shards.py
153
- cp speechbrain/recipes/VoxLingua107/lang_id/train.py train.py
154
- cp speechbrain/recipes/VoxLingua107/lang_id/hparams/train_ecapa.yaml train_ecapa.yaml
152
+ cp ../ speechbrain/recipes/VoxLingua107/lang_id/create_wds_shards.py create_wds_shards.py
153
+ cp ../ speechbrain/recipes/VoxLingua107/lang_id/train.py train.py
154
+ cp ../ speechbrain/recipes/VoxLingua107/lang_id/hparams/train_ecapa.yaml train_ecapa.yaml
155
155
```
156
156
157
157
2 . From the ` Training ` directory, apply patches to modify these files to work with the CommonVoice dataset.
You can’t perform that action at this time.
0 commit comments