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

NameError: name 'K' is not defined #14

Open
vinnytwice opened this issue Oct 7, 2019 · 1 comment
Open

NameError: name 'K' is not defined #14

vinnytwice opened this issue Oct 7, 2019 · 1 comment

Comments

@vinnytwice
Copy link

I'm very new to Deep Learning and I'm following this on colab book and when I get to the multi_head = build_model() line I get this error.
Did anyone had the same?
Any solution?

@vinnytwice
Copy link
Author

Found the problem.
from tensorflow.keras import backend as K
This is a missing line on the imports of the model definition portion of the code.

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