DeepSpeech.PyTorch stops working after installing Torch to use also DeepSpeech.Torch
See original GitHub issueDear friends,
My DeepSpeech.PyTorch stopped working after installing Torch to use also DeepSpeech.Torch. See the logs bellow. It is very similar with an another issue of the repo and they said we should use another gcc, but I am not sure exactly what is the REAL problem.
If a move the torch installation directory, DeepSpeech.PyTorch works again! If a move the torch installation directory back, DeepSpeech.PyTorch fails!
> dlm@vm001nc6:~/code/deepspeech.pytorch$
> dlm@vm001nc6:~/code/deepspeech.pytorch$
> dlm@vm001nc6:~/code/deepspeech.pytorch$ python train.py --train_manifest data/train_manifest.csv --val_manifest data/val_manifest.csv
> Traceback (most recent call last):
> File "train.py", line 9, in <module>
> from warpctc_pytorch import CTCLoss
> File "/home/dlm/anaconda3/lib/python3.6/site-packages/warpctc_pytorch/__init__.py", line 7, in <module>
> from ._warp_ctc import lib as _lib, ffi as _ffi
> ImportError: /home/dlm/anaconda3/lib/python3.6/site-packages/torch/lib/../../../../libgomp.so.1: version `GOMP_4.0' not found (required by /home/dlm/torch/install/lib/libwarpctc.so)
> dlm@vm001nc6:~/code/deepspeech.pytorch$
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (4 by maintainers)
Top Results From Across the Web
DeepSpeech — Torchaudio nightly documentation - PyTorch
Parameters: x (torch.Tensor) – Tensor of dimension (batch, channel, time, feature). Returns:.
Read more >Lambda Tensorbook - Unable to recognize GPU with PyTorch
I'm unable to recognize the GPU when installing PyTorch. Initially, I could recognize the GPU by rebooting, but that no longer works.
Read more >Building an end-to-end Speech Recognition model in PyTorch
The complete guide on how to build an end-to-end Speech Recognition model in PyTorch. Train your own CTC Deep Speech model using this...
Read more >Real Time Speech Recognition - Gradio
So, in this tutorial, we will also cover how to use state with Gradio demos. ... and pip install torch ); DeepSpeech (...
Read more >Fine-tune Transformers Faster with Lightning Flash and Torch ...
Make sure to install Torch ORT, which requires certain CUDA versions to be installed (or optionally use Docker). Instructions here! Now that we ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will try removing everything and then installing from scratch if that helps I will let you know.
Share my solution here. However I don’t know why… The environment is Ubuntu16.04 with CUDA8.0, GCC version of system is 5.4.0. And GCC version of Anaconda is 4.8.5. I installed PyTorch from source following the instructions on its GitHub repo page.
~/.zshrc
file (if you are using bash, modify~/.bashrc
instead).Make sure that after you export Anaconda, the value of environment variable
CC
is/usr/bin/gcc
.If not, it will fail when building the warp-ctc C++ code.
CUDA_HOME
if you want to enable GPU before running python installation script.If it works well, it will print the gradient information like this: