harvardnlp / seq2seq-attn

Sequence-to-sequence model with LSTM encoder/decoders and attention
http://nlp.seas.harvard.edu/code
MIT License
1.26k stars 278 forks source link

Segmentation fault #109

Open reBiocoder opened 2 years ago

reBiocoder commented 2 years ago

environment:

ubuntu18 Torch7 gcc version 4.8.5 (Ubuntu 4.8.5-4ubuntu8) lua5.2 python2.7 only CPU

problem

while i run command th train.lua -data_file data/demo-train.hdf5 -val_data_file data/demo-val.hdf5 -savefile demo-model -gpuid -1 output:

Segmentation fault

What is the reason for this? thx.