quick_start训练出错求教
Created by: HugoLian
我使用amazon的数据可以正常训练。 后来我用老一点的paddle版本重新训练的自己的一些数据有结果。 现在从新clone了新的paddle,再次训练自己数据的时候报错:
I0104 16:45:04.964309 5577 Util.cpp:155] commandline: /home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/bin/../opt/paddle/bin/paddle_trainer --co
nfig=trainer_config.lr.py --save_dir=./output3 --trainer_count=3 --log_period=100 --num_passes=20 --use_gpu=false --show_parameter_stats_period=100 --test_all_data_in_o
ne_period=1 --dot_period=10
I0104 16:45:04.964537 5577 Util.cpp:130] Calling runInitFunctions
I0104 16:45:04.964962 5577 Util.cpp:143] Call runInitFunctions done.
[INFO 2017-01-04 16:45:07,532 networks.py:1466] The input order is [word, label]
[INFO 2017-01-04 16:45:07,532 networks.py:1472] The output order is [__cost_0__]
I0104 16:45:07.793874 5577 Trainer.cpp:170] trainer mode: Normal
I0104 16:45:08.281028 5577 PyDataProvider2.cpp:257] loading dataprovider dataprovider_bow::process
I0104 16:45:08.694866 5577 PyDataProvider2.cpp:257] loading dataprovider dataprovider_bow::process
I0104 16:45:08.695263 5577 GradientMachine.cpp:134] Initing parameters..
I0104 16:45:08.754325 5577 GradientMachine.cpp:141] Init parameters done.
F0104 16:45:15.401315 5616 PythonUtil.h:345] Check failed: (data) != nullptr Current PYTHONPATH: ['/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/out
put/opt/paddle/bin', '/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/python27-gcc482/lib/python2.7/site-packages/setuptools-18.2-py2.7.egg', '/
home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/Paddle/demo/quick_start', '/home/iknow/yupeng/programs/phpsh/lib/python2.7/site-packages', '/home/iknow/
lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/python27-gcc482/lib/python27.zip', '/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/
python27-gcc482/lib/python2.7', '/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/python27-gcc482/lib/python2.7/plat-linux2', '/home/iknow/lianji
e/dnn/paddle_internal_release_tools/idl/paddle/output/python27-gcc482/lib/python2.7/lib-tk', '/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/py
thon27-gcc482/lib/python2.7/lib-old', '/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/python27-gcc482/lib/python2.7/lib-dynload', '/home/iknow/
lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/python27-gcc482/lib/python2.7/site-packages']
Python Error: <type 'exceptions.ValueError'> : need more than 1 value to unpack
Python Callstack:
/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/Paddle/demo/quick_start/dataprovider_bow.py : 59
Calling iterator next error
*** Check failure stack trace: ***
@ 0x13a3818 google::LogMessage::Fail()
@ 0x13a3770 google::LogMessage::SendToLog()
@ 0x13a3205 google::LogMessage::Flush()
@ 0x13a5fc6 google::LogMessageFatal::~LogMessageFatal()
@ 0x6af82c paddle::PyDataProvider2::loadThread()
@ 0x7f07e7af78a0 execute_native_thread_routine
@ 0x7f07e83751c3 start_thread
@ 0x7f07e726812d __clone
/home/iknow/lianjie/dnn/paddle_internal_release_tools/idl/paddle/output/bin/paddle_local: line 109: 5577 Aborted (core dumped) ${DEBUGGER} $MYDIR/../op
t/paddle/bin/paddle_trainer ${@:2}
请问这个可能是什么问题?