qlearning4k icon indicating copy to clipboard operation
qlearning4k copied to clipboard

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.

Open naouss80 opened this issue 7 years ago • 5 comments

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.

naouss80 avatar Jul 06 '17 15:07 naouss80

I have seen the same error

jasperr avatar Jul 08 '17 13:07 jasperr

I'm having the same issue.

gaara100 avatar Jul 31 '17 21:07 gaara100

Same. Looks like something changed in Keras?

jkempson avatar Aug 19 '17 00:08 jkempson

same here....

sdgroeve avatar Aug 21 '17 16:08 sdgroeve

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

vftens avatar Sep 03 '17 11:09 vftens