Named-Entity-Recognition_DeepLearning-keras
Named-Entity-Recognition_DeepLearning-keras copied to clipboard
InvalidArgumentError: Incompatible shapes: [1600] vs. [32,50]
When I ran the notebook, I encountered an error InvalidArgumentError: Incompatible shapes: [1600] vs. [32,50]
. I think the input shape in your code is correct. Why is that error still happening?
I get the same issue running nre.py
. Anyone solve this?
metric=['accuracy'] does the problem. After removed or changed to some custom metric it get fixed. I dont know why 'accuracy' cause the problem tho.
@elixium thanks. We moved on to a better supported library in the end.
I am getting this error Incompatible shapes: [1600] vs. [32,50] [[{{node metrics/acc/Equal}}]]
Please help!
Update Keras to the latest version, it is Keras bug https://github.com/keras-team/keras/issues/11749