James
James
Jul 30, 2017 · 1 min read

category: 0
Total words: 82339
Index of the word ‘the’: 44539
Each batch has 100 texts and each matrix has 119930 elements (words): (100, 82339)
Each batch has 100 labels and each matrix has 3 elements (3 categories): (100, 3)

ValueError: Shape must be rank 2 but is rank 1 for ‘MatMul_11’ (op: ‘MatMul’) with input shapes: [?,100], [3].

I got this error while running the code

    James

    Written by

    James