kushagra2101 / ChatCrazie

A chatbot implemented using RNN and GloVe embeddings whch answers your query crazily
12 stars 13 forks source link

Mismatch of weight matrix shape solved. #11

Open AdroitAnandAI opened 4 years ago

AdroitAnandAI commented 4 years ago

There is a bug in line 70 of test_seq2seq.py file.

While running the test function, shape mismatch error would be thrown, as the shape of weight matrix we are trying to load doesnt correspond to the shape of the model built in train_seq2seq.py. The reason is that the weights you save after training and the weights you try to load for testing are different. The fix corrects the model file to the trained model to solve the issue.