thunlp / Fast-TransX

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

Segmentation Fault due to `rand_max` returning high values in Corrupt Tail/Head #50

Closed ritwickchaudhry closed 2 years ago

ritwickchaudhry commented 5 years ago

The Corrupt Tail or Head sometimes gives a very high value for the negative sample due to which I'm getting a segmentation fault. Can you please check this?

jingcangcang commented 2 years ago

I have this problem too. Can someone tell how to solve it? Thanks.