Open sathsaraRasantha opened 3 years ago
Hi @sathsaraRasantha. I have not been able to look at your issue due to other commitments. I'll try to take a look this weekend. It would be better if you could share your notebook as colab (or any other way), so that I can debug it easily. Also, I would suggest you to take a look at the shapes of your tensors at each step since that's what going wrong for you somewhere.
Hi @kushalj001. Thank you so much for replying. I solved that issue by looking at shapes of tensors as you also mentioned. But now there is a different error. I'll share the link of colab notebook. I am sure you would be able to debug it easily. I made some changes in data preprocessing steps as well. I just get the feeling that the error is something related to that.
IndexError Traceback (most recent call last)
Hey..I found the error there also. And fixed it. Now I am getting another one. Could you please send me email whenever you are free. My email : rasantha.sathsara@gmail.com
This is the error I am getting. And it seems this is the last one.
RuntimeError Traceback (most recent call last)
Hi, @sathsaraRasantha did you find a solution for your last question? The same error has encountered me also.
Hi @sathsaraRasantha @Marwa-1995 The error is most likely related to some wrong dimension/axis in a tensor being accessed. In order to get a more readable error message, turn of your GPU and run the code on CPU. That will give the exact line where the code is breaking.
First of all, you have done a fantastic work here and I would like to thank you for that. I am trying to use your implementation on a different QA dataset ( Translated version of SQuAD 1.0 to Sinhala language ). The only changes I made was using different dataset ( But in same format ), using Google colab and using FastText word embeddings instead of Glove. I am getting a error when trying to call the train function. I didn't make any changes to "class BiDAF" or train function. This is the error I am getting.
Starting training ........ Starting batch: 0
RuntimeError Traceback (most recent call last)