Conv2DLayer requires GPU support

Skip to first unread message

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:!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/", line 42, in <module>
    "requires GPU support -- see"
ImportError: requires GPU support -- see

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
0 new messages