DeepGraphLearning / RNNLogic

120 stars 25 forks source link

runtime error #3

Closed wead-hsu closed 3 years ago

wead-hsu commented 3 years ago

hi. meng. I have tried to run the code (main branch), however, it reports the segment error in gpu. After debugging, it turns out that the error occurs in the rule_embed function. I am not very familiar with the CUDA, so I do not know how to fix this issue (I do not whether this issue is encountered only by me). But I can run the code in torch branch.

wead-hsu commented 3 years ago

hi. meng. I have tried to run the code (main branch), however, it reports the segment error in gpu. After debugging, it turns out that the error occurs in the rule_embed function. I am not very familiar with the CUDA, so I do not know how to fix this issue (I do not whether this issue is encountered only by me). But I can run the code in torch branch.

After comparing the codes in torch and main branches, I realize it is due to the difference in the dataset. kinship_325 is ok but kinship is not. Their difference is about reverse relations. I have not found the reason why the code fails.

mnqu commented 3 years ago

Hi Wead, thanks for pointing it out! The error was caused by some format issues in the dataset. We have fixed the problem, and now you should be able to run with the kinship dataset in the main branch.

Meng

wead-hsu commented 3 years ago

Hi Wead, thanks for pointing it out! The error was caused by some format issues in the dataset. We have fixed the problem, and now you should be able to run with the kinship dataset in the main branch.

Meng

Thanks for your quick response!