segmentation fault
Created by: CherryYin
root@sf:~/paddle/nlp# sh w2v_train.sh
I0926 15:56:02.259246 4558 Util.cpp:144] commandline: /usr/bin/../opt/paddle/bin/paddle_trainer --config=w2v_train.conf --save_dir=model --load_missing_parameter_strategy=rand --use_gpu=false --num_passes=16
I0926 15:56:02.259358 4558 Util.cpp:113] Calling runInitFunctions
I0926 15:56:02.259573 4558 Util.cpp:126] Call runInitFunctions done.
[INFO 2016-09-26 15:56:02,299 networks.py:1122] The input order is [source_word, target_word]
[INFO 2016-09-26 15:56:02,299 networks.py:1129] The output order is [__cost_0__]
I0926 15:56:02.300602 4558 Trainer.cpp:169] trainer mode: Normal
I0926 15:56:02.301008 4558 PyDataProvider2.cpp:219] loading dataprovider w2v_dataprovider::process
[INFO 2016-09-26 15:56:02,329 w2v_dataprovider.py:27] src dict len : 31
I0926 15:56:02.340214 4558 PyDataProvider2.cpp:219] loading dataprovider w2v_dataprovider::process
[INFO 2016-09-26 15:56:02,340 w2v_dataprovider.py:27] src dict len : 31
I0926 15:56:02.352053 4558 GradientMachine.cpp:134] Initing parameters..
I0926 15:56:02.352778 4558 GradientMachine.cpp:141] Init parameters done.
...................................................................................................
I0926 15:56:02.375059 4558 TrainerInternal.cpp:162] Batch=100 samples=500 AvgCost=1.76317 CurrentCost=1.76317 Eval: classification_error_evaluator=0.386 CurrentEval: classification_error_evaluator=0.386
...................................................................................................
I0926 15:56:02.392889 4558 TrainerInternal.cpp:162] Batch=200 samples=1000 AvgCost=1.70084 CurrentCost=1.63852 Eval: classification_error_evaluator=0.368 CurrentEval: classification_error_evaluator=0.35
...................................................................................................
I0926 15:56:02.411052 4558 TrainerInternal.cpp:162] Batch=300 samples=1500 AvgCost=1.63823 CurrentCost=1.513 Eval: classification_error_evaluator=0.355333 CurrentEval: classification_error_evaluator=0.33
...................................................................................................
I0926 15:56:02.428959 4558 TrainerInternal.cpp:162] Batch=400 samples=2000 AvgCost=1.59425 CurrentCost=1.46232 Eval: classification_error_evaluator=0.347 CurrentEval: classification_error_evaluator=0.322
...................................................................................................
I0926 15:56:02.447105 4558 TrainerInternal.cpp:162] Batch=500 samples=2500 AvgCost=1.59097 CurrentCost=1.57785 Eval: classification_error_evaluator=0.3524 CurrentEval: classification_error_evaluator=0.374
...................................................................................................
I0926 15:56:02.465378 4558 TrainerInternal.cpp:162] Batch=600 samples=3000 AvgCost=1.58826 CurrentCost=1.57469 Eval: classification_error_evaluator=0.352 CurrentEval: classification_error_evaluator=0.35
.................................................................................................I0926 15:56:02.482964 4558 TrainerInternal.cpp:179] Pass=0 Batch=697 samples=3481 AvgCost=1.55931 Eval: classification_error_evaluator=0.348463
I0926 15:56:02.508798 4558 Tester.cpp:111] Test samples=4991 cost=1.40169 Eval: classification_error_evaluator=0.320377
/usr/bin/paddle: line 46: 4558 Segmentation fault (core dumped) ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_trainer ${@:2}
when I running a word2vec nn, it fault as above. it fault in saving parameters. But I don't know why.