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

attention计算维度不匹配? #9

Open
wang88256187 opened this issue Nov 7, 2019 · 4 comments
Open

attention计算维度不匹配? #9

wang88256187 opened this issue Nov 7, 2019 · 4 comments

Comments

@wang88256187
Copy link

battle场景中,我为啥老报错Can not do batch_dot on inputs with shapes (None, 8, 4, 8, 4) and (None, 8, 4, 16) with axes=[3, 2]. x.shape[3] != y.shape[2] (8 != 4).第

@yinjiangjin
Copy link

pip install keras==2.0.8

@yinjiangjin
Copy link

keras的版本不对。如果你能够在不修改keras版本的情况下解决,麻烦指点一下

@Amarantine30
Copy link

battle场景中,我为啥老报错Can not do batch_dot on inputs with shapes (None, 8, 4, 8, 4) and (None, 8, 4, 16) with axes=[3, 2]. x.shape[3] != y.shape[2] (8 != 4).第

请问你最后是怎么解决这个维度问题的,keras版本改变好像其他部分就不能运行了吧?

@tianz1990
Copy link

battle场景中,我为啥老报错Can not do batch_dot on inputs with shapes (None, 8, 4, 8, 4) and (None, 8, 4, 16) with axes=[3, 2]. x.shape[3] != y.shape[2] (8 != 4).第

请问你最后是怎么解决这个维度问题的,keras版本改变好像其他部分就不能运行了吧?

请问你问题解决了吗?我也一直遇到这个问题

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

4 participants