训练报错:Check failed: PySequence_Check(seq_) 求解
Created by: HugoLian
网络结构: 数据1 --- hidden_layer1_1(fc) 数据2 --- hidden_layer1_2(fc) --- hidden_layer2(fc) --- softmax(fc) 数据3 --- hidden_layer1_3(fc)
请问可能是什么问题?
I0110 18:31:53.190239 32757 Util.cpp:155] commandline: /home/iknow/lianjie/paddle/paddle_internal_release_tools/idl/paddle/output/bin/../opt/paddle/bin/paddle_trainer -
-config=trainer_config.py --save_dir=./output --trainer_count=7 --log_period=1000 --num_passes=20 --use_gpu=false --show_parameter_stats_period=500 --test_all_data_in_o
ne_period=1 --dot_period=20 --saving_period=1 --num_gradient_servers=1
I0110 18:31:53.190439 32757 Util.cpp:130] Calling runInitFunctions
I0110 18:31:53.190767 32757 Util.cpp:143] Call runInitFunctions done.
[INFO 2017-01-10 18:31:56,460 networks.py:1466] The input order is [word_data, bi_data, tag_data, label]
[INFO 2017-01-10 18:31:56,461 networks.py:1472] The output order is [__cost_0__]
I0110 18:31:56.835767 32757 Trainer.cpp:170] trainer mode: Normal
I0110 18:31:59.025571 32757 PyDataProvider2.cpp:257] loading dataprovider dataprovider::process
I0110 18:31:59.658323 32757 PyDataProvider2.cpp:257] loading dataprovider dataprovider::process
I0110 18:31:59.658658 32757 GradientMachine.cpp:134] Initing parameters..
I0110 18:32:04.380216 32757 GradientMachine.cpp:141] Init parameters done.
I0110 18:40:53.452157 9687 ThreadLocal.cpp:37] thread use undeterministic rand seed:9688
F0110 18:40:53.452644 9687 PythonUtil.h:211] Check failed: PySequence_Check(seq_)
*** Check failure stack trace: ***
@ 0x13c2f98 google::LogMessage::Fail()
@ 0x13c2ef0 google::LogMessage::SendToLog()
@ 0x13c2985 google::LogMessage::Flush()
@ 0x13c5746 google::LogMessageFatal::~LogMessageFatal()
@ 0x69a829 paddle::py::SequenceHelper::SequenceHelper()
@ 0x69ff70 paddle::PyDataProvider2::getNextBatchInternal()
@ 0x6a9fe9 paddle::DoubleBuffer::asyncLoadBatch()
@ 0x7f52f20628a0 execute_native_thread_routine
@ 0x7f52f28e01c3 start_thread
@ 0x7f52f17d312d __clone
/home/iknow/lianjie/paddle/paddle_internal_release_tools/idl/paddle/output/bin/paddle_local: line 109: 32757 Aborted
(core dumped) ${DEBUGGER} $MYDIR/..
/opt/paddle/bin/paddle_trainer ${@:2}