{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/jeffdonahue/caffe/pulls/6","id":31635754,"html_url":"https://github.com/jeffdonahue/caffe/pull/6","diff_url":"https://github.com/jeffdonahue/caffe/pull/6.diff","patch_url":"https://github.com/jeffdonahue/caffe/pull/6.patch","issue_url":"https://api.github.com/repos/jeffdonahue/caffe/issues/6","number":6,"state":"open","locked":false,"title":"Fix bug in recurrent branch","user":{"login":"cvondrick","id":316755,"avatar_url":"https://avatars.githubusercontent.com/u/316755?v=3","gravatar_id":"","url":"https://api.github.com/users/cvondrick","html_url":"https://github.com/cvondrick","followers_url":"https://api.github.com/users/cvondrick/followers","following_url":"https://api.github.com/users/cvondrick/following{/other_user}","gists_url":"https://api.github.com/users/cvondrick/gists{/gist_id}","starred_url":"https://api.github.com/users/cvondrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvondrick/subscriptions","organizations_url":"https://api.github.com/users/cvondrick/orgs","repos_url":"https://api.github.com/users/cvondrick/repos","events_url":"https://api.github.com/users/cvondrick/events{/privacy}","received_events_url":"https://api.github.com/users/cvondrick/received_events","type":"User","site_admin":false},"body":"There seems to be a bug in the recurrent branch with the ReshapeLayer. In some cases, the ReshapeLayer output only zeros.\r\n\r\n    # Load a random dataset \r\n    layer {\r\n      name: \"ToyData_1\"\r\n      type: \"DummyData\"\r\n      top: \"ToyData_1\"\r\n      dummy_data_param {\r\n        shape {\r\n          dim: 101 \r\n          dim: 7\r\n          dim: 3\r\n        }\r\n        data_filler {\r\n          type: \"gaussian\"\r\n          std: 1\r\n        }\r\n      }\r\n    }\r\n    \r\n    layer {\r\n      name: \"ZeroData\"\r\n      type: \"DummyData\"\r\n      top: \"ZeroData\"\r\n      dummy_data_param {\r\n        shape {\r\n          dim: 101 \r\n          dim: 7\r\n          dim: 3\r\n        }\r\n        data_filler {\r\n          type: \"constant\"\r\n          value: 0\r\n        }\r\n      }\r\n    }\r\n    \r\n    \r\n    # Reshape ToyData_1 to be the same size\r\n    layer {\r\n      name: \"Reshape\"\r\n      type: \"Reshape\"\r\n      bottom: \"ToyData_1\"\r\n      top: \"ToyData_2\"\r\n      reshape_param {\r\n        shape {\r\n          dim: 101\r\n          dim: 7\r\n          dim: 3\r\n        }\r\n      }\r\n    }\r\n    \r\n    \r\n    \r\n    \r\n    \r\n    # Since ToyData_1 should be ToyData_2, we expect that this loss be zero. But, it is not.\r\n    layer {\r\n      name: \"EuclideanLoss\"\r\n      bottom: \"ToyData_1\"\r\n      bottom: \"ToyData_2\"\r\n      top: \"ToyData_1_vs_2_Difference\"\r\n      type: \"EuclideanLoss\"\r\n    }\r\n    \r\n    # We expect this loss to be non-zero, and it is non-zero. \r\n    layer {\r\n      name: \"EuclideanLoss\"\r\n      bottom: \"ToyData_1\"\r\n      bottom: \"ZeroData\"\r\n      top: \"ToyData_1_vs_Zero_Difference\"\r\n      type: \"EuclideanLoss\"\r\n    }\r\n    \r\n    # Since ToyData_2 should be ToyData_1 and ToyData_1 is non-zero, we expect this loss to be non-zero. But, it is zero.\r\n    layer {\r\n      name: \"EuclideanLoss\"\r\n      bottom: \"ToyData_2\"\r\n      bottom: \"ZeroData\"\r\n      top: \"ToyData_2_vs_Zero_Difference\"\r\n      type: \"EuclideanLoss\"\r\n    }\r\n","created_at":"2015-03-20T17:44:15Z","updated_at":"2015-03-20T17:44:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jeffdonahue/caffe/pulls/6/commits","review_comments_url":"https://api.github.com/repos/jeffdonahue/caffe/pulls/6/comments","review_comment_url":"https://api.github.com/repos/jeffdonahue/caffe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jeffdonahue/caffe/issues/6/comments","statuses_url":"https://api.github.com/repos/jeffdonahue/caffe/statuses/3e1a0ff73fef23b8cb8adc8223e0bb2c8900e56b","head":{"label":"cvondrick:recurrent-fixed-reshape","ref":"recurrent-fixed-reshape","sha":"3e1a0ff73fef23b8cb8adc8223e0bb2c8900e56b","user":{"login":"cvondrick","id":316755,"avatar_url":"https://avatars.githubusercontent.com/u/316755?v=3","gravatar_id":"","url":"https://api.github.com/users/cvondrick","html_url":"https://github.com/cvondrick","followers_url":"https://api.github.com/users/cvondrick/followers","following_url":"https://api.github.com/users/cvondrick/following{/other_user}","gists_url":"https://api.github.com/users/cvondrick/gists{/gist_id}","starred_url":"https://api.github.com/users/cvondrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvondrick/subscriptions","organizations_url":"https://api.github.com/users/cvondrick/orgs","repos_url":"https://api.github.com/users/cvondrick/repos","events_url":"https://api.github.com/users/cvondrick/events{/privacy}","received_events_url":"https://api.github.com/users/cvondrick/received_events","type":"User","site_admin":false},"repo":{"id":32597365,"name":"caffe","full_name":"cvondrick/caffe","owner":{"login":"cvondrick","id":316755,"avatar_url":"https://avatars.githubusercontent.com/u/316755?v=3","gravatar_id":"","url":"https://api.github.com/users/cvondrick","html_url":"https://github.com/cvondrick","followers_url":"https://api.github.com/users/cvondrick/followers","following_url":"https://api.github.com/users/cvondrick/following{/other_user}","gists_url":"https://api.github.com/users/cvondrick/gists{/gist_id}","starred_url":"https://api.github.com/users/cvondrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvondrick/subscriptions","organizations_url":"https://api.github.com/users/cvondrick/orgs","repos_url":"https://api.github.com/users/cvondrick/repos","events_url":"https://api.github.com/users/cvondrick/events{/privacy}","received_events_url":"https://api.github.com/users/cvondrick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cvondrick/caffe","description":"Caffe","fork":true,"url":"https://api.github.com/repos/cvondrick/caffe","forks_url":"https://api.github.com/repos/cvondrick/caffe/forks","keys_url":"https://api.github.com/repos/cvondrick/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cvondrick/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cvondrick/caffe/teams","hooks_url":"https://api.github.com/repos/cvondrick/caffe/hooks","issue_events_url":"https://api.github.com/repos/cvondrick/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/cvondrick/caffe/events","assignees_url":"https://api.github.com/repos/cvondrick/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/cvondrick/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/cvondrick/caffe/tags","blobs_url":"https://api.github.com/repos/cvondrick/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cvondrick/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cvondrick/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/cvondrick/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cvondrick/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/cvondrick/caffe/languages","stargazers_url":"https://api.github.com/repos/cvondrick/caffe/stargazers","contributors_url":"https://api.github.com/repos/cvondrick/caffe/contributors","subscribers_url":"https://api.github.com/repos/cvondrick/caffe/subscribers","subscription_url":"https://api.github.com/repos/cvondrick/caffe/subscription","commits_url":"https://api.github.com/repos/cvondrick/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/cvondrick/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/cvondrick/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/cvondrick/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/cvondrick/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/cvondrick/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cvondrick/caffe/merges","archive_url":"https://api.github.com/repos/cvondrick/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cvondrick/caffe/downloads","issues_url":"https://api.github.com/repos/cvondrick/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/cvondrick/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/cvondrick/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/cvondrick/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cvondrick/caffe/labels{/name}","releases_url":"https://api.github.com/repos/cvondrick/caffe/releases{/id}","created_at":"2015-03-20T17:26:15Z","updated_at":"2015-03-20T17:27:48Z","pushed_at":"2015-03-20T17:28:13Z","git_url":"git://github.com/cvondrick/caffe.git","ssh_url":"git@github.com:cvondrick/caffe.git","clone_url":"https://github.com/cvondrick/caffe.git","svn_url":"https://github.com/cvondrick/caffe","homepage":"http://caffe.berkeleyvision.org/","size":33716,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jeffdonahue:master","ref":"master","sha":"77ab8f649f78844dfbbd7d91e984428c637df499","user":{"login":"jeffdonahue","id":965190,"avatar_url":"https://avatars.githubusercontent.com/u/965190?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffdonahue","html_url":"https://github.com/jeffdonahue","followers_url":"https://api.github.com/users/jeffdonahue/followers","following_url":"https://api.github.com/users/jeffdonahue/following{/other_user}","gists_url":"https://api.github.com/users/jeffdonahue/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffdonahue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffdonahue/subscriptions","organizations_url":"https://api.github.com/users/jeffdonahue/orgs","repos_url":"https://api.github.com/users/jeffdonahue/repos","events_url":"https://api.github.com/users/jeffdonahue/events{/privacy}","received_events_url":"https://api.github.com/users/jeffdonahue/received_events","type":"User","site_admin":false},"repo":{"id":17725787,"name":"caffe","full_name":"jeffdonahue/caffe","owner":{"login":"jeffdonahue","id":965190,"avatar_url":"https://avatars.githubusercontent.com/u/965190?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffdonahue","html_url":"https://github.com/jeffdonahue","followers_url":"https://api.github.com/users/jeffdonahue/followers","following_url":"https://api.github.com/users/jeffdonahue/following{/other_user}","gists_url":"https://api.github.com/users/jeffdonahue/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffdonahue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffdonahue/subscriptions","organizations_url":"https://api.github.com/users/jeffdonahue/orgs","repos_url":"https://api.github.com/users/jeffdonahue/repos","events_url":"https://api.github.com/users/jeffdonahue/events{/privacy}","received_events_url":"https://api.github.com/users/jeffdonahue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffdonahue/caffe","description":"Caffe","fork":true,"url":"https://api.github.com/repos/jeffdonahue/caffe","forks_url":"https://api.github.com/repos/jeffdonahue/caffe/forks","keys_url":"https://api.github.com/repos/jeffdonahue/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffdonahue/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffdonahue/caffe/teams","hooks_url":"https://api.github.com/repos/jeffdonahue/caffe/hooks","issue_events_url":"https://api.github.com/repos/jeffdonahue/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/jeffdonahue/caffe/events","assignees_url":"https://api.github.com/repos/jeffdonahue/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/jeffdonahue/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/jeffdonahue/caffe/tags","blobs_url":"https://api.github.com/repos/jeffdonahue/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffdonahue/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffdonahue/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffdonahue/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffdonahue/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffdonahue/caffe/languages","stargazers_url":"https://api.github.com/repos/jeffdonahue/caffe/stargazers","contributors_url":"https://api.github.com/repos/jeffdonahue/caffe/contributors","subscribers_url":"https://api.github.com/repos/jeffdonahue/caffe/subscribers","subscription_url":"https://api.github.com/repos/jeffdonahue/caffe/subscription","commits_url":"https://api.github.com/repos/jeffdonahue/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffdonahue/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffdonahue/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffdonahue/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffdonahue/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/jeffdonahue/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffdonahue/caffe/merges","archive_url":"https://api.github.com/repos/jeffdonahue/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffdonahue/caffe/downloads","issues_url":"https://api.github.com/repos/jeffdonahue/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/jeffdonahue/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffdonahue/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffdonahue/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffdonahue/caffe/labels{/name}","releases_url":"https://api.github.com/repos/jeffdonahue/caffe/releases{/id}","created_at":"2014-03-13T20:58:04Z","updated_at":"2015-03-11T23:27:30Z","pushed_at":"2015-03-19T19:00:38Z","git_url":"git://github.com/jeffdonahue/caffe.git","ssh_url":"git@github.com:jeffdonahue/caffe.git","clone_url":"https://github.com/jeffdonahue/caffe.git","svn_url":"https://github.com/jeffdonahue/caffe","homepage":"http://caffe.berkeleyvision.org/","size":33716,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jeffdonahue/caffe/pulls/6"},"html":{"href":"https://github.com/jeffdonahue/caffe/pull/6"},"issue":{"href":"https://api.github.com/repos/jeffdonahue/caffe/issues/6"},"comments":{"href":"https://api.github.com/repos/jeffdonahue/caffe/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/jeffdonahue/caffe/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/jeffdonahue/caffe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jeffdonahue/caffe/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/jeffdonahue/caffe/statuses/3e1a0ff73fef23b8cb8adc8223e0bb2c8900e56b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":35,"additions":4818,"deletions":168,"changed_files":56}}