textClassifier icon indicating copy to clipboard operation
textClassifier copied to clipboard

ValueError: Error when checking target: expected dense_1 to have 2 dimensions, but got array with shape (40261, 2, 2)

Open houpingx opened this issue 6 years ago • 1 comments

Exactly follow the procedure and run the code. But, there is an issue when train the model

ValueError: Error when checking target: expected dense_1 to have 2 dimensions, but got array with shape (40261, 2, 2)

How to fix this one!

houpingx avatar Feb 27 '19 18:02 houpingx

I'm stuck with the same issue. Any solutions?

tomxmr avatar Jun 09 '19 15:06 tomxmr