Open Missshulan opened 4 years ago
I ran your code, and the following error was prompted,“ValueError: You are tring 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 can I modify it?
I have this issue too and solved this by changing next line in sdae.py: os.environ['THEANO_FLAGS'] = "device=gpu1,floatX=float32" to: os.environ['THEANO_FLAGS'] = "device=cuda*,floatX=float32"
os.environ['THEANO_FLAGS'] = "device=gpu1,floatX=float32"
os.environ['THEANO_FLAGS'] = "device=cuda*,floatX=float32"
I ran your code, and the following error was prompted,“ValueError: You are tring 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 can I modify it?