Merge pull request #2216 from lissyx/doc-allow-growth

Document TF_FORCE_GPU_ALLOW_GROWTH

X-DeepSpeech: NOBUILD
This commit is contained in:
Reuben Morais 2019-06-27 18:16:35 +00:00 committed by GitHub
commit c45c70cdaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,6 +268,14 @@ pip3 install 'tensorflow-gpu==1.13.1'
Please ensure you have the required [CUDA dependency](#cuda-dependency).
It has been reported for some people failure at training:
```
tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node tower_0/conv1d/Conv2D}}]]
```
Setting the `TF_FORCE_GPU_ALLOW_GROWTH` environment variable to `true` seems to help in such cases.
### Common Voice training data
The Common Voice corpus consists of voice samples that were donated through Mozilla's [Common Voice](https://voice.mozilla.org/) Initiative.