{"action":"opened","issue":{"url":"https://api.github.com/repos/baidu/Paddle/issues/159","repository_url":"https://api.github.com/repos/baidu/Paddle","labels_url":"https://api.github.com/repos/baidu/Paddle/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/baidu/Paddle/issues/159/comments","events_url":"https://api.github.com/repos/baidu/Paddle/issues/159/events","html_url":"https://github.com/baidu/Paddle/issues/159","id":181029790,"number":159,"title":"libprotobuf ERROR while running sentiment demo","user":{"login":"cactiball","id":5732664,"avatar_url":"https://avatars.githubusercontent.com/u/5732664?v=3","gravatar_id":"","url":"https://api.github.com/users/cactiball","html_url":"https://github.com/cactiball","followers_url":"https://api.github.com/users/cactiball/followers","following_url":"https://api.github.com/users/cactiball/following{/other_user}","gists_url":"https://api.github.com/users/cactiball/gists{/gist_id}","starred_url":"https://api.github.com/users/cactiball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactiball/subscriptions","organizations_url":"https://api.github.com/users/cactiball/orgs","repos_url":"https://api.github.com/users/cactiball/repos","events_url":"https://api.github.com/users/cactiball/events{/privacy}","received_events_url":"https://api.github.com/users/cactiball/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T23:22:09Z","updated_at":"2016-10-04T23:22:09Z","closed_at":null,"body":"1. paddle version\r\ngit version: commit 29c16e22420b8b69d17572accd2f6fc0239c8c7e\r\npaddle compiled from source, with the options: cmake .. -DWITH_GPU=ON -DWITH_DOC=ON -DWITH_SWIG_PY=ON -DCMAKE_INSTALL_PREFIX=/data/user/program/pddl_build/\r\nmake and make install success.\r\n\r\n2. protoc --version\r\nlibprotoc 2.5.0\r\n\r\n3. run the sentiment demo:\r\ncd /demo/sentiment/data/\r\n./get_imdb.sh\r\ncd ..\r\n./preprocess.sh\r\nthe above steps are good.\r\nHowever, run ./train.sh, I get the following error msg:\r\n\r\n===================================================================\r\nI1004 16:22:13.414708 12100 Util.cpp:144] commandline: /usr/local/bin/../opt/paddle/bin/paddle_trainer --config=trainer_config.py --save_dir=./model_output --job=train --use_gpu=false --trainer_count=4 --num_passes=10 --log_period=10 --dot_period=20 --show_parameter_stats_period=100 --test_all_data_in_one_period=1 \r\nI1004 16:22:13.414949 12100 Util.cpp:113] Calling runInitFunctions\r\nI1004 16:22:13.415261 12100 Util.cpp:126] Call runInitFunctions done.\r\n[INFO 2016-10-04 16:22:13,802 networks.py:1125] The input order is [word, label]\r\n[INFO 2016-10-04 16:22:13,802 networks.py:1132] The output order is [__cost_0__]\r\n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type \"paddle.TrainerConfig\" because it is missing required fields: model_config.parameters[0].learning_rate, model_config.parameters[0].momentum, model_config.parameters[1].learning_rate, model_config.parameters[1].momentum, model_config.parameters[2].learning_rate, model_config.parameters[2].momentum, model_config.parameters[3].learning_rate, model_config.parameters[3].momentum, model_config.parameters[4].learning_rate, model_config.parameters[4].momentum, model_config.parameters[5].momentum, model_config.parameters[6].momentum, model_config.parameters[7].learning_rate, model_config.parameters[7].momentum, model_config.parameters[8].learning_rate, model_config.parameters[8].momentum, model_config.parameters[9].learning_rate, model_config.parameters[9].momentum, model_config.parameters[10].momentum, model_config.parameters[11].momentum, model_config.parameters[12].learning_rate, model_config.parameters[12].momentum, model_config.parameters[13].learning_rate, model_config.parameters[13].momentum, model_config.parameters[14].learning_rate, model_config.parameters[14].momentum, model_config.parameters[15].momentum, model_config.parameters[16].momentum, model_config.parameters[17].learning_rate, model_config.parameters[17].momentum\r\nF1004 16:22:13.825393 12100 TrainerConfigHelper.cpp:59] Check failed: m->conf.ParseFromString(configProtoStr) \r\n*** Check failure stack trace: ***\r\n    @     0x7fc3d0879daa  (unknown)\r\n    @     0x7fc3d0879ce4  (unknown)\r\n    @     0x7fc3d08796e6  (unknown)\r\n    @     0x7fc3d087c687  (unknown)\r\n    @           0x6aa559  paddle::TrainerConfigHelper::TrainerConfigHelper()\r\n    @           0x6aa924  paddle::TrainerConfigHelper::createFromFlags()\r\n    @           0x53af53  main\r\n    @     0x7fc3cfa85ec5  (unknown)\r\n    @           0x546695  (unknown)\r\n    @              (nil)  (unknown)\r\n/usr/local/bin/paddle: line 46: 12100 Aborted                 (core dumped) ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_trainer ${@:2}\r\n===================================================================\r\n\r\nCould you please help to check what is this about?\r\n"}}
{"actor":{"display_login":"cactiball"}}