Text classifier for Hierarchical Attention Networks for Document Classification
1.07k
stars
379
forks
source link
ValueError: Error when checking target: expected dense_1 to have 2 dimensions, but got array with shape (40261, 2, 2) #39
Open
houpingx opened 5 years ago
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!