Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train_TransE 训练样本量过大会导致 Segmentation fault,怎么解决? #93

Open
SHK92 opened this issue Jun 2, 2020 · 2 comments

Comments

@SHK92
Copy link

SHK92 commented Jun 2, 2020

我用自己的数据生成的train.txt, entity2id.txt 和 relation2id.txt。train的样本量在1000w级。会报错。train.txt抽一个和FB15k中train.txt样本量相当的sample,是可以正常跑出结果的。但是数据量上去就不得行了。

@t170815518
Copy link

源代码有一些需要优化的地方,否则很容易造成内存泄漏,或许可以参考一下这个issue:
#5

@yaowang1112
Copy link

我想问下该给Train_TransE中的主函数传入什么参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants