keras-language-modeling icon indicating copy to clipboard operation
keras-language-modeling copied to clipboard

incorrect predicted output shape

Open jdongca2003 opened this issue 8 years ago • 0 comments

I checked out code from master branch and printed sims shape.

in insurance_qa_eval.py, after line 179 (sims = self.model.predict([question, answers]) ), I printed sims shape

"print(sims.shape)"

nb_epoch is set to 5. It is strange that its shape is (500, 500). I assume that it is (500,1).

jdongca2003 avatar Sep 25 '16 00:09 jdongca2003