murtazahassan/OpenCV-Sudoku-Solver

Kernel shape mismatch

Opened this issue · 0 comments

I executed your code unmodified.
But when I load 'Resources/myModel.h5' I get the error message
"Kernel shape must have same length as input, but received kernel of shape (3, 3, 1, 32) and input of shape (None, None, 28, 28, 1)."
(Python 3.9.13, opencv 4.10.0, numpy 1.26.4, tensorflow 2.17.0)
How to fix this?
Shoul I revert to all versions you mentioned on youtube?