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

Error in TensorFlow 2.5/2.6 #3

Open
klyack opened this issue Oct 23, 2021 · 0 comments
Open

Error in TensorFlow 2.5/2.6 #3

klyack opened this issue Oct 23, 2021 · 0 comments

Comments

@klyack
Copy link

klyack commented Oct 23, 2021

Relativistic average GAN with Keras custom loss : TypeError: Cannot convert a symbolic Keras input/output to a numpy array. This error may indicate that you're trying to pass a symbolic value to a NumPy call, which is not supported. Or, you may be trying to pass Keras symbolic inputs/outputs to a TF API that does not register dispatching, preventing Keras from automatically converting the API call to a lambda layer in the Functional Model.
Got same error locally on Python 3.8/TF 2.6 and in Google Colab
P.S. I had to remove model visualization

Repository owner deleted a comment Feb 26, 2024
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