Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running on cpu #502

Open
nipppas opened this issue Mar 13, 2020 · 0 comments
Open

running on cpu #502

nipppas opened this issue Mar 13, 2020 · 0 comments

Comments

@nipppas
Copy link

nipppas commented Mar 13, 2020

Hello everyone,
First of all I am not familiar enough with merlin and I followed the article of josh meyer website to build and compile merlin.
I succesfully compiled merlin but when I am trying to run demo voice from slt_artcic/s1
I dont have a GPU and trying to run from CPU
Maybe my question is silly but merlin compiles default for CPU or GPU?
Should I edit merlin flags in src/?
MERLIN_THEANO_FLAGS="cuda.root=/usr/local/8.0,floatX=float32,on_unused_input=ignore"
export MERLIN_THEANO_FLAGS
Or should it be from mathplotlib library?
LD_LIBRARY_PATH:
/usr/local/lib
PYTHONPATH:
PYTHONBIN: python
MERLIN_THEANO_FLAGS:
cuda.root=/usr/local/8.0
floatX=float32
on_unused_input=ignore

No GPU is available! Running on CPU...
/home/kaldi/merlin/src/logplot/logging_plotting.py:55: UserWarning:
This call to matplotlib.use() has no effect because the backend has already
been chosen; matplotlib.use() must be called before pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.

The backend was originally set to 'agg' by the following code:
File "/home/kaldi/merlin/src/run_merlin.py", line 74, in
from models.deep_rnn import DeepRecurrentNetwork
File "/home/kaldi/merlin/src/models/deep_rnn.py", line 16, in
from training_schemes.rprop import compile_RPROP_train_function
File "/home/kaldi/merlin/src/training_schemes/rprop.py", line 47, in
import matplotlib.pyplot as plt
File "/home/kaldi/.local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 71, in
from matplotlib.backends import pylab_setup
File "/home/kaldi/.local/lib/python2.7/site-packages/matplotlib/backends/init.py", line 17, in
line for line in traceback.format_stack()

slt_artic.txt

IF anyone knows it could be awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant