sidl
sidl copied to clipboard
ValueError: Dimensions must be equal, but are 32768 and 25088 for ‘MatMul’ (op: ‘MatMul’) with input shapes: [16,32768], [25088,4096]
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?
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.