payload: {"action":"created","comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/332385759","pull_request_review_id":298597307,"id":332385759,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzMjM4NTc1OQ==","diff_hunk":"@@ -204,13 +204,14 @@ def check_feed_shape_type(var, feed):\n     \"\"\"\n     if var.desc.need_check_feed():\n         if not dimension_is_compatible_with(feed.shape(), var.shape):\n-            raise ValueError('Cannot feed value of shape %r for Variable %r, '\n-                             'which has shape %r' %\n-                             (feed.shape, var.name, var.shape))\n+            raise ValueError(\n+                'ShapeError: The feeded Variable %r should have dimensions = '\n+                '%d, shape = %r, but received feeded shape %r' %\n+                (var.name, len(var.shape), var.shape, feed.shape()))\n         if not dtype_is_compatible_with(feed._dtype(), var.dtype):\n-            raise ValueError('Cannot feed value of type %r for Variable %r, '\n-                             'which has type %r' %\n-                             (feed._dtype(), var.name, var.dtype))\n+            raise ValueError(\n+                'The data type of feeded Variable %r must be %r, but received %r'\n+                % (var.name, var.dtype, feed._dtype()))","path":"python/paddle/fluid/executor.py","position":17,"original_position":17,"commit_id":"bcb0ce55706dad9f37c6b6b60294b6142e3cee7d","original_commit_id":"bcb0ce55706dad9f37c6b6b60294b6142e3cee7d","user":{"login":"chenwhql","id":22561442,"node_id":"MDQ6VXNlcjIyNTYxNDQy","avatar_url":"https://avatars3.githubusercontent.com/u/22561442?v=4","gravatar_id":"","url":"https://api.github.com/users/chenwhql","html_url":"https://github.com/chenwhql","followers_url":"https://api.github.com/users/chenwhql/followers","following_url":"https://api.github.com/users/chenwhql/following{/other_user}","gists_url":"https://api.github.com/users/chenwhql/gists{/gist_id}","starred_url":"https://api.github.com/users/chenwhql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenwhql/subscriptions","organizations_url":"https://api.github.com/users/chenwhql/orgs","repos_url":"https://api.github.com/users/chenwhql/repos","events_url":"https://api.github.com/users/chenwhql/events{/privacy}","received_events_url":"https://api.github.com/users/chenwhql/received_events","type":"User","site_admin":false},"body":"这里是否有必要对用户显示numpy的类型？ @luotao1 ，用户输入的`float32`这里会打印`VarType.FP32`，是否会不太友好？","created_at":"2019-10-08T08:17:43Z","updated_at":"2019-10-08T08:19:04Z","html_url":"https://github.com/PaddlePaddle/Paddle/pull/20204#discussion_r332385759","pull_request_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/332385759"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/20204#discussion_r332385759"},"pull_request":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204"}}},"pull_request":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204","id":325614087,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI1NjE0MDg3","html_url":"https://github.com/PaddlePaddle/Paddle/pull/20204","diff_url":"https://github.com/PaddlePaddle/Paddle/pull/20204.diff","patch_url":"https://github.com/PaddlePaddle/Paddle/pull/20204.patch","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/20204","number":20204,"state":"open","locked":false,"title":"Refine Error Message for New Data API","user":{"login":"zhhsplendid","id":7913861,"node_id":"MDQ6VXNlcjc5MTM4NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7913861?v=4","gravatar_id":"","url":"https://api.github.com/users/zhhsplendid","html_url":"https://github.com/zhhsplendid","followers_url":"https://api.github.com/users/zhhsplendid/followers","following_url":"https://api.github.com/users/zhhsplendid/following{/other_user}","gists_url":"https://api.github.com/users/zhhsplendid/gists{/gist_id}","starred_url":"https://api.github.com/users/zhhsplendid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhhsplendid/subscriptions","organizations_url":"https://api.github.com/users/zhhsplendid/orgs","repos_url":"https://api.github.com/users/zhhsplendid/repos","events_url":"https://api.github.com/users/zhhsplendid/events{/privacy}","received_events_url":"https://api.github.com/users/zhhsplendid/received_events","type":"User","site_admin":false},"body":"The shape doesn't match error will be like:\r\n\r\n_\"The Variable u'data' should have dimensions = 4, shape = (-1, 3, 4, 8), but received feeded shape [10, 3, 4, 5]\"_\r\n\r\nThe dtype doesn't match error will be like:\r\n\r\n_\"The data type of feeded Variable u'label' must be VarType.INT64, but received VarType.FP64\"_","created_at":"2019-10-08T05:58:52Z","updated_at":"2019-10-08T08:19:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"134c614eff57517646c76219d66ebf02b7040a30","assignee":null,"assignees":[],"requested_reviewers":[{"login":"luotao1","id":6836917,"node_id":"MDQ6VXNlcjY4MzY5MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/6836917?v=4","gravatar_id":"","url":"https://api.github.com/users/luotao1","html_url":"https://github.com/luotao1","followers_url":"https://api.github.com/users/luotao1/followers","following_url":"https://api.github.com/users/luotao1/following{/other_user}","gists_url":"https://api.github.com/users/luotao1/gists{/gist_id}","starred_url":"https://api.github.com/users/luotao1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luotao1/subscriptions","organizations_url":"https://api.github.com/users/luotao1/orgs","repos_url":"https://api.github.com/users/luotao1/repos","events_url":"https://api.github.com/users/luotao1/events{/privacy}","received_events_url":"https://api.github.com/users/luotao1/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1484684317,"node_id":"MDU6TGFiZWwxNDg0Njg0MzE3","url":"https://api.github.com/repos/PaddlePaddle/Paddle/labels/Error%20Message","name":"Error Message","color":"d7db5e","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204/commits","review_comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204/comments","review_comment_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/20204/comments","statuses_url":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/bcb0ce55706dad9f37c6b6b60294b6142e3cee7d","head":{"label":"zhhsplendid:error_info","ref":"error_info","sha":"bcb0ce55706dad9f37c6b6b60294b6142e3cee7d","user":{"login":"zhhsplendid","id":7913861,"node_id":"MDQ6VXNlcjc5MTM4NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7913861?v=4","gravatar_id":"","url":"https://api.github.com/users/zhhsplendid","html_url":"https://github.com/zhhsplendid","followers_url":"https://api.github.com/users/zhhsplendid/followers","following_url":"https://api.github.com/users/zhhsplendid/following{/other_user}","gists_url":"https://api.github.com/users/zhhsplendid/gists{/gist_id}","starred_url":"https://api.github.com/users/zhhsplendid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhhsplendid/subscriptions","organizations_url":"https://api.github.com/users/zhhsplendid/orgs","repos_url":"https://api.github.com/users/zhhsplendid/repos","events_url":"https://api.github.com/users/zhhsplendid/events{/privacy}","received_events_url":"https://api.github.com/users/zhhsplendid/received_events","type":"User","site_admin":false},"repo":{"id":174333901,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQzMzM5MDE=","name":"Paddle","full_name":"zhhsplendid/Paddle","private":false,"owner":{"login":"zhhsplendid","id":7913861,"node_id":"MDQ6VXNlcjc5MTM4NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7913861?v=4","gravatar_id":"","url":"https://api.github.com/users/zhhsplendid","html_url":"https://github.com/zhhsplendid","followers_url":"https://api.github.com/users/zhhsplendid/followers","following_url":"https://api.github.com/users/zhhsplendid/following{/other_user}","gists_url":"https://api.github.com/users/zhhsplendid/gists{/gist_id}","starred_url":"https://api.github.com/users/zhhsplendid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhhsplendid/subscriptions","organizations_url":"https://api.github.com/users/zhhsplendid/orgs","repos_url":"https://api.github.com/users/zhhsplendid/repos","events_url":"https://api.github.com/users/zhhsplendid/events{/privacy}","received_events_url":"https://api.github.com/users/zhhsplendid/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zhhsplendid/Paddle","description":"PArallel Distributed Deep LEarning （PaddlePaddle核心框架，高性能单机、分布式训练和跨平台部署）","fork":true,"url":"https://api.github.com/repos/zhhsplendid/Paddle","forks_url":"https://api.github.com/repos/zhhsplendid/Paddle/forks","keys_url":"https://api.github.com/repos/zhhsplendid/Paddle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhhsplendid/Paddle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhhsplendid/Paddle/teams","hooks_url":"https://api.github.com/repos/zhhsplendid/Paddle/hooks","issue_events_url":"https://api.github.com/repos/zhhsplendid/Paddle/issues/events{/number}","events_url":"https://api.github.com/repos/zhhsplendid/Paddle/events","assignees_url":"https://api.github.com/repos/zhhsplendid/Paddle/assignees{/user}","branches_url":"https://api.github.com/repos/zhhsplendid/Paddle/branches{/branch}","tags_url":"https://api.github.com/repos/zhhsplendid/Paddle/tags","blobs_url":"https://api.github.com/repos/zhhsplendid/Paddle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhhsplendid/Paddle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhhsplendid/Paddle/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhhsplendid/Paddle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhhsplendid/Paddle/statuses/{sha}","languages_url":"https://api.github.com/repos/zhhsplendid/Paddle/languages","stargazers_url":"https://api.github.com/repos/zhhsplendid/Paddle/stargazers","contributors_url":"https://api.github.com/repos/zhhsplendid/Paddle/contributors","subscribers_url":"https://api.github.com/repos/zhhsplendid/Paddle/subscribers","subscription_url":"https://api.github.com/repos/zhhsplendid/Paddle/subscription","commits_url":"https://api.github.com/repos/zhhsplendid/Paddle/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhhsplendid/Paddle/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhhsplendid/Paddle/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhhsplendid/Paddle/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhhsplendid/Paddle/contents/{+path}","compare_url":"https://api.github.com/repos/zhhsplendid/Paddle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhhsplendid/Paddle/merges","archive_url":"https://api.github.com/repos/zhhsplendid/Paddle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhhsplendid/Paddle/downloads","issues_url":"https://api.github.com/repos/zhhsplendid/Paddle/issues{/number}","pulls_url":"https://api.github.com/repos/zhhsplendid/Paddle/pulls{/number}","milestones_url":"https://api.github.com/repos/zhhsplendid/Paddle/milestones{/number}","notifications_url":"https://api.github.com/repos/zhhsplendid/Paddle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhhsplendid/Paddle/labels{/name}","releases_url":"https://api.github.com/repos/zhhsplendid/Paddle/releases{/id}","deployments_url":"https://api.github.com/repos/zhhsplendid/Paddle/deployments","created_at":"2019-03-07T11:45:32Z","updated_at":"2019-09-27T08:37:23Z","pushed_at":"2019-10-08T07:50:29Z","git_url":"git://github.com/zhhsplendid/Paddle.git","ssh_url":"git@github.com:zhhsplendid/Paddle.git","clone_url":"https://github.com/zhhsplendid/Paddle.git","svn_url":"https://github.com/zhhsplendid/Paddle","homepage":"http://www.paddlepaddle.org/","size":167109,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PaddlePaddle:develop","ref":"develop","sha":"c5cff9971aaa3eb2a8c9e16f8d2aba6ca2a33943","user":{"login":"PaddlePaddle","id":23534030,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTM0MDMw","avatar_url":"https://avatars3.githubusercontent.com/u/23534030?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddlePaddle","html_url":"https://github.com/PaddlePaddle","followers_url":"https://api.github.com/users/PaddlePaddle/followers","following_url":"https://api.github.com/users/PaddlePaddle/following{/other_user}","gists_url":"https://api.github.com/users/PaddlePaddle/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddlePaddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddlePaddle/subscriptions","organizations_url":"https://api.github.com/users/PaddlePaddle/orgs","repos_url":"https://api.github.com/users/PaddlePaddle/repos","events_url":"https://api.github.com/users/PaddlePaddle/events{/privacy}","received_events_url":"https://api.github.com/users/PaddlePaddle/received_events","type":"Organization","site_admin":false},"repo":{"id":65711522,"node_id":"MDEwOlJlcG9zaXRvcnk2NTcxMTUyMg==","name":"Paddle","full_name":"PaddlePaddle/Paddle","private":false,"owner":{"login":"PaddlePaddle","id":23534030,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNTM0MDMw","avatar_url":"https://avatars3.githubusercontent.com/u/23534030?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddlePaddle","html_url":"https://github.com/PaddlePaddle","followers_url":"https://api.github.com/users/PaddlePaddle/followers","following_url":"https://api.github.com/users/PaddlePaddle/following{/other_user}","gists_url":"https://api.github.com/users/PaddlePaddle/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddlePaddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddlePaddle/subscriptions","organizations_url":"https://api.github.com/users/PaddlePaddle/orgs","repos_url":"https://api.github.com/users/PaddlePaddle/repos","events_url":"https://api.github.com/users/PaddlePaddle/events{/privacy}","received_events_url":"https://api.github.com/users/PaddlePaddle/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PaddlePaddle/Paddle","description":"PArallel Distributed Deep LEarning （『飞桨』核心框架，高性能单机、分布式训练和跨平台部署）","fork":false,"url":"https://api.github.com/repos/PaddlePaddle/Paddle","forks_url":"https://api.github.com/repos/PaddlePaddle/Paddle/forks","keys_url":"https://api.github.com/repos/PaddlePaddle/Paddle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PaddlePaddle/Paddle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PaddlePaddle/Paddle/teams","hooks_url":"https://api.github.com/repos/PaddlePaddle/Paddle/hooks","issue_events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/events{/number}","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/events","assignees_url":"https://api.github.com/repos/PaddlePaddle/Paddle/assignees{/user}","branches_url":"https://api.github.com/repos/PaddlePaddle/Paddle/branches{/branch}","tags_url":"https://api.github.com/repos/PaddlePaddle/Paddle/tags","blobs_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/refs{/sha}","trees_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/{sha}","languages_url":"https://api.github.com/repos/PaddlePaddle/Paddle/languages","stargazers_url":"https://api.github.com/repos/PaddlePaddle/Paddle/stargazers","contributors_url":"https://api.github.com/repos/PaddlePaddle/Paddle/contributors","subscribers_url":"https://api.github.com/repos/PaddlePaddle/Paddle/subscribers","subscription_url":"https://api.github.com/repos/PaddlePaddle/Paddle/subscription","commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/commits{/sha}","git_commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/commits{/sha}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/comments{/number}","issue_comment_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments{/number}","contents_url":"https://api.github.com/repos/PaddlePaddle/Paddle/contents/{+path}","compare_url":"https://api.github.com/repos/PaddlePaddle/Paddle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PaddlePaddle/Paddle/merges","archive_url":"https://api.github.com/repos/PaddlePaddle/Paddle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PaddlePaddle/Paddle/downloads","issues_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues{/number}","pulls_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls{/number}","milestones_url":"https://api.github.com/repos/PaddlePaddle/Paddle/milestones{/number}","notifications_url":"https://api.github.com/repos/PaddlePaddle/Paddle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/labels{/name}","releases_url":"https://api.github.com/repos/PaddlePaddle/Paddle/releases{/id}","deployments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/deployments","created_at":"2016-08-15T06:59:08Z","updated_at":"2019-10-08T07:49:55Z","pushed_at":"2019-10-08T08:12:06Z","git_url":"git://github.com/PaddlePaddle/Paddle.git","ssh_url":"git@github.com:PaddlePaddle/Paddle.git","clone_url":"https://github.com/PaddlePaddle/Paddle.git","svn_url":"https://github.com/PaddlePaddle/Paddle","homepage":"http://www.paddlepaddle.org/","size":169342,"stargazers_count":9986,"watchers_count":9986,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2665,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1616,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2665,"open_issues":1616,"watchers":9986,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/20204"},"issue":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/20204"},"comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/20204/comments"},"review_comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204/comments"},"review_comment":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/20204/commits"},"statuses":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/bcb0ce55706dad9f37c6b6b60294b6142e3cee7d"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"chenwhql"}}