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

View File

@@ -30,15 +30,14 @@ In the script [`run_speech_recognition_ctc`], we first create a vocabulary from
--- ---
**NOTE** **NOTE**
It is currently not recommended to make use of `--preprocessing_num_workers`. If you wish to use multi-processing for data preprocessing by setting `--preprocessing_num_workers` > 1,
If however, 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: please make sure to set the environment variable `OMP_NUM_THREADS` to 1 as follows:
```bash ```bash
OMP_NUM_THREADS=1 python run_speech_recognition_ctc ... 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
--- ---