ValueError: You are trying to use the old GPU back-end. It was removed from Theano. Use device=cuda* now. See https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29 for more information.
How do I resolve this?
You should change (or add) your environmental variable called
THEANO_FLAGS. If you set the variable so that it contains
device=cuda instead of
device=gpu the error will be gone.
Also set the floating point precision to
float32 when working on the GPU as that is usually much faster (
for me no gpu,use cpu,work :
go to .theanorc file and change