{"action":"created","issue":{"url":"https://api.github.com/repos/baidu/Paddle/issues/397","repository_url":"https://api.github.com/repos/baidu/Paddle","labels_url":"https://api.github.com/repos/baidu/Paddle/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/baidu/Paddle/issues/397/comments","events_url":"https://api.github.com/repos/baidu/Paddle/issues/397/events","html_url":"https://github.com/baidu/Paddle/issues/397","id":187931019,"number":397,"title":"Matrix.cpp:2769] Check failed: label.getSize() == numSamples (13 vs. 127) ","user":{"login":"13488862011","id":23332120,"avatar_url":"https://avatars.githubusercontent.com/u/23332120?v=3","gravatar_id":"","url":"https://api.github.com/users/13488862011","html_url":"https://github.com/13488862011","followers_url":"https://api.github.com/users/13488862011/followers","following_url":"https://api.github.com/users/13488862011/following{/other_user}","gists_url":"https://api.github.com/users/13488862011/gists{/gist_id}","starred_url":"https://api.github.com/users/13488862011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13488862011/subscriptions","organizations_url":"https://api.github.com/users/13488862011/orgs","repos_url":"https://api.github.com/users/13488862011/repos","events_url":"https://api.github.com/users/13488862011/events{/privacy}","received_events_url":"https://api.github.com/users/13488862011/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zhangjcqq","id":16695812,"avatar_url":"https://avatars.githubusercontent.com/u/16695812?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangjcqq","html_url":"https://github.com/zhangjcqq","followers_url":"https://api.github.com/users/zhangjcqq/followers","following_url":"https://api.github.com/users/zhangjcqq/following{/other_user}","gists_url":"https://api.github.com/users/zhangjcqq/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangjcqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangjcqq/subscriptions","organizations_url":"https://api.github.com/users/zhangjcqq/orgs","repos_url":"https://api.github.com/users/zhangjcqq/repos","events_url":"https://api.github.com/users/zhangjcqq/events{/privacy}","received_events_url":"https://api.github.com/users/zhangjcqq/received_events","type":"User","site_admin":false},"assignees":[{"login":"zhangjcqq","id":16695812,"avatar_url":"https://avatars.githubusercontent.com/u/16695812?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangjcqq","html_url":"https://github.com/zhangjcqq","followers_url":"https://api.github.com/users/zhangjcqq/followers","following_url":"https://api.github.com/users/zhangjcqq/following{/other_user}","gists_url":"https://api.github.com/users/zhangjcqq/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangjcqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangjcqq/subscriptions","organizations_url":"https://api.github.com/users/zhangjcqq/orgs","repos_url":"https://api.github.com/users/zhangjcqq/repos","events_url":"https://api.github.com/users/zhangjcqq/events{/privacy}","received_events_url":"https://api.github.com/users/zhangjcqq/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-08T08:35:48Z","updated_at":"2016-11-08T10:04:51Z","closed_at":null,"body":"使用demo里的semantic_role_labeling 做训练时，出现以下的错；训练目标对时序的序列进行预测\r\nsh train.sh\r\nTue Nov  8 16:31:54 CST 2016\r\nI1108 16:31:54.986636 10316 Util.cpp:144] commandline: /home/liupeng07/.jumbo/bin/../opt/paddle/bin/paddle_trainer --config=./zj_lstm.py --save_dir=./output --trainer_count=11 --log_period=10 --num_passes=200 --use_gpu=false --show_parameter_stats_period=10 --test_all_data_in_one_period=1 \r\nI1108 16:31:54.986928 10316 Util.cpp:113] Calling runInitFunctions\r\nI1108 16:31:54.987305 10316 Util.cpp:126] Call runInitFunctions done.\r\n[INFO 2016-11-08 16:31:58,187 networks.py:1122] The input order is [word_data, target]\r\n[INFO 2016-11-08 16:31:58,187 networks.py:1129] The output order is [__cost_0__]\r\nI1108 16:31:59.038832 10316 Trainer.cpp:169] trainer mode: Normal\r\nI1108 16:32:01.214412 10316 PyDataProvider2.cpp:219] loading dataprovider zj_dataprovider::process\r\nI1108 16:32:01.696892 10316 PyDataProvider2.cpp:219] loading dataprovider zj_dataprovider::process\r\nI1108 16:32:01.697199 10316 GradientMachine.cpp:134] Initing parameters..\r\nI1108 16:32:11.124802 10316 GradientMachine.cpp:141] Init parameters done.\r\nI1108 16:32:11.483523 10524 ThreadLocal.cpp:39] thread use undeterministic rand seed:10525\r\nI1108 16:32:11.543462 10521 ThreadLocal.cpp:39] thread use undeterministic rand seed:10522\r\nI1108 16:32:11.554527 10515 ThreadLocal.cpp:39] thread use undeterministic rand seed:10516\r\nI1108 16:32:11.556932 10518 ThreadLocal.cpp:39] thread use undeterministic rand seed:10519\r\nI1108 16:32:11.560775 10517 ThreadLocal.cpp:39] thread use undeterministic rand seed:10518\r\nI1108 16:32:11.564555 10519 ThreadLocal.cpp:39] thread use undeterministic rand seed:10520\r\nI1108 16:32:11.566588 10520 ThreadLocal.cpp:39] thread use undeterministic rand seed:10521\r\nI1108 16:32:11.566684 10523 ThreadLocal.cpp:39] thread use undeterministic rand seed:10524\r\nI1108 16:32:11.567601 10516 ThreadLocal.cpp:39] thread use undeterministic rand seed:10517\r\nI1108 16:32:11.574527 10525 ThreadLocal.cpp:39] thread use undeterministic rand seed:10526\r\nI1108 16:32:11.577190 10522 ThreadLocal.cpp:39] thread use undeterministic rand seed:10523\r\nF1108 16:32:12.580016 10517 Matrix.cpp:2769] Check failed: label.getSize() == numSamples (13 vs. 127) \r\n*** Check failure stack trace: ***\r\n    @     0x7f627ecd1a6d  google::LogMessage::Fail()\r\n    @     0x7f627ecd5f07  google::LogMessage::SendToLog()\r\n    @     0x7f627ecd3d69  google::LogMessage::Flush()\r\n    @     0x7f627ecd406d  google::LogMessageFatal::~LogMessageFatal()\r\n    @           0x7de658  paddle::CpuMatrix::oneHotCrossEntropy()\r\n    @           0x66b7ed  paddle::CostLayer::forward()\r\n    @           0x5d1c36  paddle::NeuralNetwork::forward()\r\n    @           0x5b2db3  paddle::TrainerThread::forward()\r\n    @           0x5b423c  paddle::TrainerThread::computeThread()\r\n    @     0x7f627e81d2a8  execute_native_thread_routine\r\n    @     0x7f627f6d2d14  start_thread\r\n    @     0x7f627dfdabfd  clone"},"comment":{"url":"https://api.github.com/repos/baidu/Paddle/issues/comments/259095655","html_url":"https://github.com/baidu/Paddle/issues/397#issuecomment-259095655","issue_url":"https://api.github.com/repos/baidu/Paddle/issues/397","id":259095655,"user":{"login":"zhangjcqq","id":16695812,"avatar_url":"https://avatars.githubusercontent.com/u/16695812?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangjcqq","html_url":"https://github.com/zhangjcqq","followers_url":"https://api.github.com/users/zhangjcqq/followers","following_url":"https://api.github.com/users/zhangjcqq/following{/other_user}","gists_url":"https://api.github.com/users/zhangjcqq/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangjcqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangjcqq/subscriptions","organizations_url":"https://api.github.com/users/zhangjcqq/orgs","repos_url":"https://api.github.com/users/zhangjcqq/repos","events_url":"https://api.github.com/users/zhangjcqq/events{/privacy}","received_events_url":"https://api.github.com/users/zhangjcqq/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T10:04:51Z","updated_at":"2016-11-08T10:04:51Z","body":"这种数据格式并不是SRL demo中处理完的数据格式，自己处理的？做的是SRL任务吗？看上去像是文本分类之类的事情。14和138应该是句子长度相关的一些值，建议使用一个只有一句或几句话的小训练数据来调试，这样每次报错的时候，值会是固定的，容易发现问题。"}}
{"actor":{"display_login":"zhangjcqq"}}