Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theano #4

Open
Missshulan opened this issue Jan 10, 2020 · 1 comment
Open

Theano #4

Missshulan opened this issue Jan 10, 2020 · 1 comment

Comments

@Missshulan
Copy link

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?

@sfdk74
Copy link

sfdk74 commented Mar 26, 2020

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants