Closed jmpr0 closed 3 years ago
I got just the same issue, Windows 10, Tf 2, Python 3
InvalidArgumentError: Incompatible shapes: [32] vs. [32,111,111]
[[node metrics/accuracy/Equal (defined at <ipython-input-40-01a7b3e6c0fd>:12) ]] [Op:__inference_distributed_function_3107]
Function call stack:
distributed_function```
I got same error when i am using CNN. (Windows 10 Tf 2.1, python 3) because i didn't use Flatten() layer after CNN layers()
This code: https://github.com/keras-team/keras-contrib/blob/master/examples/improved_wgan.py
Hi guys. When I try to train_on_batch my model, keras raise subsequent exception:
The error derive from the use of 'accuracy' metric, and goes away when I remove it. But, how I can solve it?
Thanks.