Conv2DLayer requires GPU support

129 views
Skip to first unread message

el...@jongeri.us

unread,
Apr 10, 2019, 10:16:36 AM4/10/19
to lasagne-users
I'm trying to get an example project working on a system where no GPU support is (and can be) installed.

The original example uses
from lasagne.layers.dnn import Conv2DDNNLayer as ConvLayer
which I changed to
from lasagne.layers.dnn import Conv2DLayer as ConvLayer
As was suggested here: https://groups.google.com/forum/m/#!topic/lasagne-users/lubXYdxasQU

I also included the " flip_filters=False" to the constructors of the ConvLayer.

However I still get the issue that a GPU is required:
from lasagne.layers.dnn import Conv2DLayer as ConvLayer
  File "/home/user/.local/lib/python2.7/site-packages/lasagne/layers/dnn.py", line 42, in <module>
    "requires GPU support -- see http://lasagne.readthedocs.org/en/"
ImportError: requires GPU support -- see http://lasagne.readthedocs.org/en/latest/user/installation.html#gpu-support

I am running:
Ubuntu 16.04,
Python 2.7.12
Theano 1.0.4+unknown
Lasagne 0.2.dev1

Is there any possible workaround to get this running on CPU instead of GPU?
Reply all
Reply to author
Forward
0 new messages