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

The layer "sequential_1 has multiple inbound nodes, with different input shapes. Hence the notion of "input shape" is ill-defined for the layer. Use get_input_shape_at(node_index) instead. #22

Open
naouss80 opened this issue Jul 6, 2017 · 5 comments

Comments

@naouss80
Copy link

naouss80 commented Jul 6, 2017

Hi I seem to be running
$ python test_catch.py
and here is what I seem to get

Epoch 1000/1000 | Loss 0.0104 | Epsilon 0.10 | Win count 793
Traceback (most recent call last):
File "test_catch.py", line 21, in
agent.play(catch)
File "C:\Users\user\AppData\Local\Continuum\Anaconda3\lib\site-packages\qlearning4k-0.0.1-py3.6.egg\qlearning4k\agent.py", line 105, in play
File "C:\Users\user\AppData\Local\Continuum\Anaconda3\lib\site-packages\qlearning4k-0.0.1-py3.6.egg\qlearning4k\agent.py", line 38, in check_game_compatibility
File "C:\Users\user\AppData\Local\Continuum\Anaconda3\lib\site-packages\keras\engine\topology.py", line 1028, in input_shape
' has multiple inbound nodes, '
AttributeError: The layer "sequential_1 has multiple inbound nodes, with different input shapes. Hence the notion of "input shape" is ill-defined for the layer. Use get_input_shape_at(node_index) instead.

@jasperr
Copy link

jasperr commented Jul 8, 2017

I have seen the same error

@gaara100
Copy link

I'm having the same issue.

@jkempson
Copy link

Same. Looks like something changed in Keras?

@sdgroeve
Copy link

same here....

@vftens
Copy link

vftens commented Sep 3, 2017

The same error.
Use
Keras==1.2.2
tensorflow==1.3.0
tensorflow-gpu==1.3.0
to avoid such error

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

6 participants