chapter 07, SRL crashes after it runs a while
Created by: lcy-seso
Chapter 07, labeling semantic roles, crashes after it runs a while. The error information is as follows. It seems some bug occurs.
B000000087012:Paddle xx$ cd ../book-develop/07.label_semantic_roles/
B000000087012:07.label_semantic_roles xx$ python train.py
I0714 23:42:26.339615 1946898432 Util.cpp:166] commandline: --use_gpu=False --trainer_count=1
I0714 23:42:26.441073 1946898432 GradientMachine.cpp:85] Initing parameters..
I0714 23:42:26.567050 1946898432 GradientMachine.cpp:92] Init parameters done.
Pass 0, Batch 0, Cost 150.801550, {'__sum_evaluator_0__': 1.0}
Error while running 07.label_semantic_roles: [...Matrix.cpp:2712] Check failed: index[i] < (int)tableSize (39052 vs. 3162)
Test with Pass 0, Batch 0, {'__sum_evaluator_0__': 0.5385039448738098}
Pass 0, Batch 100, Cost 86.668573, {'__sum_evaluator_0__': 0.4900662302970886}
Pass 0, Batch 200, Cost 82.026624, {'__sum_evaluator_0__': 0.5676567554473877}
Pass 0, Batch 300, Cost 55.416589, {'__sum_evaluator_0__': 0.7542372941970825}
Pass 0, Batch 400, Cost 70.610925, {'__sum_evaluator_0__': 0.7370370626449585}
Pass 0, Batch 500, Cost 85.192023, {'__sum_evaluator_0__': 0.6752411723136902}
Test with Pass 0, {'__sum_evaluator_0__': 0.5385039448738098}
F0714 23:44:25.227174 1946898432 Matrix.cpp:2712] Check failed: index[i] < (int)tableSize (39052 vs. 3162)
*** Check failure stack trace: ***
@ 0x10925f7ed google::LogMessage::Flush()
@ 0x109263a6f google::LogMessageFatal::~LogMessageFatal()
@ 0x1092606a9 google::LogMessageFatal::~LogMessageFatal()
@ 0x10919dfd0 paddle::CpuMatrix::selectRowsImp<>()
@ 0x108f8d263 paddle::MixedLayer::forward()
@ 0x108ff779b paddle::NeuralNetwork::forward()
@ 0x108f41f94 _wrap_GradientMachine_forward()
@ 0x100fc31bd PyEval_EvalFrameEx
@ 0x100fc80b2 fast_function
@ 0x100fc2db3 PyEval_EvalFrameEx
@ 0x100fbb8f2 PyEval_EvalCodeEx
@ 0x100fc8015 fast_function
@ 0x100fc2db3 PyEval_EvalFrameEx
@ 0x100f3b7a1 gen_send_ex
@ 0x100fc23b5 PyEval_EvalFrameEx
@ 0x100f3b7a1 gen_send_ex
@ 0x100fc23b5 PyEval_EvalFrameEx
@ 0x100fbb8f2 PyEval_EvalCodeEx
@ 0x100fc8015 fast_function
@ 0x100fc2db3 PyEval_EvalFrameEx
@ 0x100fbb8f2 PyEval_EvalCodeEx
@ 0x100fc8015 fast_function
@ 0x100fc2db3 PyEval_EvalFrameEx
@ 0x100fbb8f2 PyEval_EvalCodeEx
@ 0x100fc8015 fast_function
@ 0x100fc2db3 PyEval_EvalFrameEx
@ 0x100fbb8f2 PyEval_EvalCodeEx
@ 0x100fbb2e6 PyEval_EvalCode
@ 0x100fea254 PyRun_FileExFlags
@ 0x100fe9dd1 PyRun_SimpleFileExFlags
@ 0x100fffa12 Py_Main
Abort trap: 6