Update README.md

This commit is contained in:
Patrick von Platen 2021-09-24 09:53:37 +02:00 committed by GitHub
parent 678bb248d0
commit 95f888fd6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -30,15 +30,14 @@ In the script [`run_speech_recognition_ctc`], we first create a vocabulary from
---
**NOTE**
It is currently not recommended to make use of `--preprocessing_num_workers`.
If however, you wish to use multi-processing for data preprocessing by setting `--preprocessing_num_workers` > 1,
If you wish to use multi-processing for data preprocessing by setting `--preprocessing_num_workers` > 1,
please make sure to set the environment variable `OMP_NUM_THREADS` to 1 as follows:
```bash
OMP_NUM_THREADS=1 python run_speech_recognition_ctc ...
```
If the environment variable is not set, the training script might hang, *i.e.* see: https://github.com/pytorch/audio/issues/1021#issuecomment-726915239
If the environment variable is not set, the training script might freeze, *i.e.* see: https://github.com/pytorch/audio/issues/1021#issuecomment-726915239
---