Keras-FlappyBird
Keras-FlappyBird copied to clipboard
Layer weight shape (32, 80, 8, 8) not compatible with provided weight shape (8, 8, 4, 32)
I run your code but it occurs a error,Layer weight shape (32, 80, 8, 8) not compatible with provided weight shape (8, 8, 4, 32) Can you help me to solve this problem?
Are you using theano or tensorflow?
On Fri, Mar 17, 2017 at 4:28 PM, TangYudi [email protected] wrote:
I run your code but it occurs a error,Layer weight shape (32, 80, 8, 8) not compatible with provided weight shape (8, 8, 4, 32) Can you help me to solve this problem?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yanpanlau/Keras-FlappyBird/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AO1sY4xRqakFw_wzHpbMuKsDrB40Rhcyks5rmkQngaJpZM4MgTX8 .
@yanpanlau I use tensorflow. Thanks for help me!
Can you try to download everything from beginning?
Delete the original folder
git clone https://github.com/yanpanlau/Keras-FlappyBird.git
and then type
python qlearn.py -m "Run"
@yanpanlau I clone it again.But it still occurs the error,Layer weight shape (32, 80, 8, 8) not compatible with provided weight shape (8, 8, 4, 32). Can you help me to solve it? Thank you!
I have the same error, i am using tensorflow with keras 1.0.7 version. Did you guys find any solution to this ?
same problem for me
Can you please let me know what version of tensorflow and keras using so i can replicate the problem? Thanks
2017年3月28日 21:52 於 "gitricko" [email protected] 寫道:
same problem for me
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/yanpanlau/Keras-FlappyBird/issues/11#issuecomment-289958101, or mute the thread https://github.com/notifications/unsubscribe-auth/AO1sY4xiBySmKrcJ3z4Tgz3Ba8DIqigVks5rqbljgaJpZM4MgTX8 .
Hi, I use keras 1.0.0, tensorflow 1.1.0 and has the same issue as above. In addition, I have another error:
File "qlearn.py", line 210, in <module>
K.set_session(sess)
AttributeError: 'module' object has no attribute 'set_session'
The code runs fine without set_session
line. I don't know what that line means and how to fix it. Can you help me?! Thanks for supporting!
I have the same problem. I'm using tensorflow and keras 1.0.0. Any solution was found? UPDATE: it works fine with keras version 2.0.5
The code at commit 25daf5fc1adfb9dc95854e355eafefc76da72331
works fine for me.
I am trying to run it but I got the same error. My tensorflow version is 1.6.0-cp27 Keras version is 2.1.5 python 2.7
I just update the code and re-test it. Can you try again?