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

ValueError: Dimensions must be equal, but are 32768 and 25088 for ‘MatMul’ (op: ‘MatMul’) with input shapes: [16,32768], [25088,4096] #5

Open
rezacsedu opened this issue Oct 3, 2018 · 1 comment

Comments

@rezacsedu
Copy link

Hi,

I encounter this error: ValueError: Dimensions must be equal, but are 32768 and 25088 for ‘MatMul’ (op: ‘MatMul’) with input shapes: [16,32768], [25088,4096]

How could I solve that? Any idea?

@figenonun
Copy link

Hello,
I got the same error and then I realize that it is about image width and image height. Your image width and image height are 256, but in vggnet16 model they are define as 224. You can change your image width and height as 224 or you can change width and height size from 224 to 256 which is define in vggnet16.py . So they should be the same size.

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

2 participants