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
Problem with AdamOptimizer? #11
Comments
Hi! Traceback you've shown indicates that you're running ops on GPU. I guess you've changed device manually (unless TF have some environment override for default device I'm not aware of). Could you post the code you modified? Also, do you by any change run optimizer like |
Hi, |
This is extremely strange. Trace clearly shows you are running the tutorial on GPU, while nothing in it changes the device (and it doesn't change it for me). Please try running with soft device placement: |
I assume the issue was resolved. Closing it now. |
I had similar issue and after looking into the issue it seems the issue is with embedding. It seems there is no GPU implementation of embedding. One can declare the embedding variable to use cpu then it works fine, e.g.:
|
Hi,
You have a great tutorial. Thanks!
While running your tutorial 2 code, i ran into this error:
I think it is something to do with AdamOptimizer(). However, the code works with GradientDescentOptimizer.
Any idea how to solve this?
Thanks in advance!
The text was updated successfully, but these errors were encountered: