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 with TransR while running the test_transR #35

Closed niladri-paul closed 6 years ago

niladri-paul commented 6 years ago

Hi,

I am using the transR and WN18 data to train. Training is fineing. Then I am using the output .vec and the given test2id.txt given in the WN18 directory to make an inference from the data using test_transR. Now I am getting a segmentation fault(core dumped). Can someone tell me how to fix this issue?

ProKil commented 6 years ago

Sorry for our late response.

Segmentation faults most probably occur when input files are not at their right location. Could you please first check this issue?

Thanks, -Hao

niladri-paul commented 6 years ago

Dear Hao,

Thanks a lot. I had figured it out. Now the training is working perfectly.

Thanks, Niladri

On Thu, Jul 26, 2018 at 1:54 AM, Hao Zhu notifications@github.com wrote:

Sorry for our late response.

Segmentation faults most probably occur when input files are not at their right location. Could you please first check this issue?

Thanks, -Hao

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thunlp/Fast-TransX/issues/35#issuecomment-407883354, or mute the thread https://github.com/notifications/unsubscribe-auth/Al1b837ggE6jVTopubYJJvs9oJdXOPmoks5uKNPvgaJpZM4UPShN .