{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3834","repository_url":"https://api.github.com/repos/PaddlePaddle/Paddle","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3834/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3834/comments","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3834/events","html_url":"https://github.com/PaddlePaddle/Paddle/issues/3834","id":254882441,"number":3834,"title":"集群预测时报___fc_layer_0__.w0 missing, not allowed","user":{"login":"shenshuijing","id":24400858,"avatar_url":"https://avatars2.githubusercontent.com/u/24400858?v=4","gravatar_id":"","url":"https://api.github.com/users/shenshuijing","html_url":"https://github.com/shenshuijing","followers_url":"https://api.github.com/users/shenshuijing/followers","following_url":"https://api.github.com/users/shenshuijing/following{/other_user}","gists_url":"https://api.github.com/users/shenshuijing/gists{/gist_id}","starred_url":"https://api.github.com/users/shenshuijing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenshuijing/subscriptions","organizations_url":"https://api.github.com/users/shenshuijing/orgs","repos_url":"https://api.github.com/users/shenshuijing/repos","events_url":"https://api.github.com/users/shenshuijing/events{/privacy}","received_events_url":"https://api.github.com/users/shenshuijing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-03T15:44:30Z","updated_at":"2017-09-05T04:03:58Z","closed_at":null,"author_association":"NONE","body":"集群产出训练模型后， 在本机上用单机预测，是通过的， 提交脚本为：\r\n```bash\r\npaddle train \\\r\n  --job=test \\\r\n  --config=trainer_config.py \\\r\n  --use_gpu=false \\\r\n  --config_args=is_predict=1 \\\r\n  --init_model_path=\"model/$1\" \\\r\n  --predict_output_dir=\"output/$1\" \\\r\n  --trainer_count=1\r\n```\r\n\r\n由于预测的数据量较大， 所以提交了一个集群预测任务， 提交脚本为：\r\n```bash\r\npaddle cluster_train \\\r\n  --config=$SCRIPT_PATH/trainer_config_adagrad.conf \\\r\n  --use_gpu=cpu \\\r\n  --time_limit=10:00:00 \\\r\n  --submitter=zhouzhiyong03 \\\r\n  --num_nodes=10 \\\r\n  --job_priority=normal \\\r\n  --config_args=is_predict=1 \\\r\n  --init_model_path=\"模型到pass地址\" \\\r\n  --trainer_count=4 \\\r\n  --job_name=zhouzhiyong03_dnn_predict \\\r\n  --where=mpi集群地址 \\\r\n  --thirdparty=$SCRIPT_PATH/thirdparty\r\n```\r\n一直报___fc_layer_0__.w0 missing, not allowed的错误， 但是我在模型产出目录中是能看到这个文件的"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments/327065875","html_url":"https://github.com/PaddlePaddle/Paddle/issues/3834#issuecomment-327065875","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3834","id":327065875,"user":{"login":"typhoonzero","id":13348433,"avatar_url":"https://avatars1.githubusercontent.com/u/13348433?v=4","gravatar_id":"","url":"https://api.github.com/users/typhoonzero","html_url":"https://github.com/typhoonzero","followers_url":"https://api.github.com/users/typhoonzero/followers","following_url":"https://api.github.com/users/typhoonzero/following{/other_user}","gists_url":"https://api.github.com/users/typhoonzero/gists{/gist_id}","starred_url":"https://api.github.com/users/typhoonzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typhoonzero/subscriptions","organizations_url":"https://api.github.com/users/typhoonzero/orgs","repos_url":"https://api.github.com/users/typhoonzero/repos","events_url":"https://api.github.com/users/typhoonzero/events{/privacy}","received_events_url":"https://api.github.com/users/typhoonzero/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T04:03:58Z","updated_at":"2017-09-05T04:03:58Z","author_association":"CONTRIBUTOR","body":"提交集群任务init_model_path指的是HDFS的路径，任务会从HDFS下载模型到每个节点，然后开始infer。\r\n`paddle cluster_train`需要指定`--fs_name`和`--fs_ugi`参数，为hadoop的集群地址和ugi。"}}
{"actor":{"display_login":"typhoonzero"}}