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

ValueError: Output tensors to a Model must be the output of a TensorFlow Layer #1

Open
Patrick-devX opened this issue Mar 11, 2021 · 0 comments

Comments

@Patrick-devX
Copy link

Patrick-devX commented Mar 11, 2021

@bstriner
Hello Ben,
Apologies for just popping up in your github now. I'm just desperate and I saw that you have already solved a similar problem.

My problem seems to be more serious. I have successfully trained and tested a model outside of aws sagemaker. But soblab I try to train it with a TensorFlow gpu instance the following error pops up.

ValueError: Output tensors to a Model must be the output of a TensorFlow Layer (thus holding past layer metadata). Found: Tensor("dense/truediv:0", shape=(?, 2, 209), dtype=float32) by calling

model = tf.keras.Model(inputs=[numerical_input, os_input, browser_input, action_input], outputs = next_n_actions)

https://stackoverflow.com/questions/66542710/valueerror-output-tensors-to-a-model-must-be-the-output-of-a-tensorflow-layer

https://gitlab.com/patricksardin08/data-science/-/tree/master/

I would be very happy if you find time to look at it
Thank You!

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