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.
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.