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

there is a problem if the program is running on the python 3.X #2

Open
tiansheng111 opened this issue Oct 21, 2018 · 0 comments
Open

Comments

@tiansheng111
Copy link

follow is the trace
Traceback (most recent call last):
File "C:/Users/tians/Desktop/Language-Model-RNN-master/task.py", line 144, in
train(config)
File "C:/Users/tians/Desktop/Language-Model-RNN-master/task.py", line 81, in train
grads = tape.gradient(loss, variables_list)
File "C:\Users\tians\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\eager\backprop.py", line 869, in gradient
output_gradients=output_gradients)
File "C:\Users\tians\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\eager\imperative_grad.py", line 63, in imperative_grad
tape._tape, vspace, target, sources, output_gradients) # pylint: disable=protected-access
AttributeError: 'dict_values' object has no attribute '_id'

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

1 participant