CSTR-Edinburgh/merlin

running on cpu

nipppas opened this issue · 0 comments

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