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

Segmentation fault when running the constituency tree-lstm #16

Open
yukiar opened this issue Feb 5, 2018 · 1 comment
Open

Segmentation fault when running the constituency tree-lstm #16

yukiar opened this issue Feb 5, 2018 · 1 comment

Comments

@yukiar
Copy link

yukiar commented Feb 5, 2018

Similar to the Issue #8 , "Segmentation fault (core dumped)" encountered at a random epoch when using the constituency tree-lstm.
I'm running several trials with the SICK dataset as the command provided without any change in the codes:
th relatedness/main.lua --model constituency
How can I solve this issue?

Here is a sample of the console output:

--------------------------------------------------------------------------------	
Constituency Tree LSTM for Semantic Relatedness	
--------------------------------------------------------------------------------	
loading word embeddings	
unk count = 5	
loading datasets	
num train = 4500
num dev   = 500
num test  = 4927
--------------------------------------------------------------------------------	
model configuration	
--------------------------------------------------------------------------------	
max epochs = 10
num params                = 241655
num compositional params  = 226350
word vector dim           = 300
Tree-LSTM memory dim      = 150
regularization strength   = 1.00e-04
minibatch size            = 25
learning rate             = 5.00e-02
word vector learning rate = 0.00e+00
parse tree type           = constituency
sim module hidden dim     = 50
--------------------------------------------------------------------------------	
Training model	
--------------------------------------------------------------------------------	
-- epoch 1
 [======================================== 4500/4500 ==================================>]  Tot: 9m11s | Step: 122ms     
-- finished epoch in 551.54s
 [======================================== 500/500 ====================================>]  Tot: 20s578ms | Step: 45ms   
-- dev score: 0.6270
-- epoch 2
Segmentation fault (core dumped)========== 4151/4500 ===========================>.......]  ETA: 41s839ms | Step: 119ms 
@smilenrhyme
Copy link

@yukiar
+1 facing the same issue. Did you find some solution for this ?

@kaishengtai Could you please provide some pointers here.

Thanks a lot !!

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

2 participants