Hi,
It is probably a mishape between inputs and labels. I would check those at first If I was you.
I solve this with using model.summary() I found some bugs in my code