treelstm icon indicating copy to clipboard operation
treelstm copied to clipboard

Segmentation fault (core dumped) Dependency Tree LSTM for Semantic Relatedness

Open aironashish opened this issue 8 years ago • 3 comments

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.
screen shot 2016-05-29 at 3 26 51 pm

I have made the following changes to handle two classes:

  1. self.num_classes = 2 and torch.range(1, 2):dot(output:exp()) in TreeLSTM.lua.
  2. 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.

aironashish avatar May 29 '16 14:05 aironashish

I made no change and yet have this problem occasionally.

th relatedness/main.lua --model dependency --layers 1 --dim 300 --epochs 10

StevenLOL avatar Jun 23 '16 06:06 StevenLOL

Is there any update on this issue? I get segmentation fault randomly after some epochs

sahith25 avatar Jun 28 '17 08:06 sahith25

same issue encountered

collapsed at this line out = LSTM(latent_dim)(input)

error message: Segmentation fault (core dumped)

LiutongZhou avatar Dec 04 '17 02:12 LiutongZhou