thunlp / Fast-TransX

An Efficient implementation of TransE and its extended models for Knowledge Representation Learning
MIT License
402 stars 108 forks source link

Floating point exception (core dumped) #6

Closed logen1004 closed 7 years ago

logen1004 commented 7 years ago

When run the TransE and call the transetrainMode, Floating point exception occurs

kimiqq commented 7 years ago

@logen1004 how to solve this problem?

THUCSTHanxu13 commented 7 years ago

My email is cst_hanxu13@163.com. You can give me more details by sending emails.

Kevin9780 commented 3 years ago

My email is cst_hanxu13@163.com. You can give me more details by sending emails.

您好,我现在遇到了相同的问题,请问您还记得当时是怎么解决的吗?谢谢! 我用了自己的数据集,数据量极大,可能是内存溢出了。但我把transD.cpp里面的所有int都换成了long long,还是报一样的错误……

Kevin9780 commented 3 years ago

Hello, I have encountered the same problem now. Do you still remember how it was solved? I used my own data set. The amount of data is huge. It may be a memory overflow. I replaced all 'int' in transd.cpp with 'long long', but it still reported the same error...