treelstm
treelstm copied to clipboard
Segmentation fault (core dumped) Dependency Tree LSTM for Semantic Relatedness
Hi,
I am having the following error on dataset containing only two classes (two values of score- 1,2). Also, the segmentation fault error occurs on different epochs.
I have made the following changes to handle two classes:
- self.num_classes = 2 and torch.range(1, 2):dot(output:exp()) in TreeLSTM.lua.
- dataset.labels[i] = (sim_file:readDouble() - 1) in read_data.lua.
I am running on Ubuntu 14.04.4 LTS and using LuaJIT 2.1.0-beta1.
I made no change and yet have this problem occasionally.
th relatedness/main.lua --model dependency --layers 1 --dim 300 --epochs 10
Is there any update on this issue? I get segmentation fault randomly after some epochs
same issue encountered
collapsed at this line
out = LSTM(latent_dim)(input)
error message: Segmentation fault (core dumped)