You must change (or add) your environment variable called THEANO_FLAGS . If you set the variable to contain device=cuda instead of device=gpu , the error will disappear.
More information about this variable can be found here .
Wilmar van ommren
source share