{"action":"created","comment":{"url":"https://api.github.com/repos/BVLC/caffe/pulls/comments/36278247","id":36278247,"diff_hunk":"@@ -154,7 +154,7 @@ message SolverParameter {\n   optional string lr_policy = 8; // The learning rate decay policy.\n   optional float gamma = 9; // The parameter to compute the learning rate.\n   optional float power = 10; // The parameter to compute the learning rate.\n-  optional float momentum = 11; // The momentum value.\n+  optional float momentum = 11 [default = 0.9]; // The momentum value.","path":"src/caffe/proto/caffe.proto","position":14,"original_position":14,"commit_id":"28ad6b80add0bad07dc486e2ca044b8607642554","original_commit_id":"28ad6b80add0bad07dc486e2ca044b8607642554","user":{"login":"PatWie","id":6756603,"avatar_url":"https://avatars.githubusercontent.com/u/6756603?v=3","gravatar_id":"","url":"https://api.github.com/users/PatWie","html_url":"https://github.com/PatWie","followers_url":"https://api.github.com/users/PatWie/followers","following_url":"https://api.github.com/users/PatWie/following{/other_user}","gists_url":"https://api.github.com/users/PatWie/gists{/gist_id}","starred_url":"https://api.github.com/users/PatWie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatWie/subscriptions","organizations_url":"https://api.github.com/users/PatWie/orgs","repos_url":"https://api.github.com/users/PatWie/repos","events_url":"https://api.github.com/users/PatWie/events{/privacy}","received_events_url":"https://api.github.com/users/PatWie/received_events","type":"User","site_admin":false},"body":"https://github.com/BVLC/caffe/blob/master/src/caffe/test/test_gradient_based_solver.cpp#L334\r\nDefault momentum is 0.0.","created_at":"2015-08-05T08:09:50Z","updated_at":"2015-08-05T08:09:50Z","html_url":"https://github.com/BVLC/caffe/pull/2856#discussion_r36278247","pull_request_url":"https://api.github.com/repos/BVLC/caffe/pulls/2856","_links":{"self":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/comments/36278247"},"html":{"href":"https://github.com/BVLC/caffe/pull/2856#discussion_r36278247"},"pull_request":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/2856"}}},"pull_request":{"url":"https://api.github.com/repos/BVLC/caffe/pulls/2856","id":41552170,"html_url":"https://github.com/BVLC/caffe/pull/2856","diff_url":"https://github.com/BVLC/caffe/pull/2856.diff","patch_url":"https://github.com/BVLC/caffe/pull/2856.patch","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/2856","number":2856,"state":"open","locked":false,"title":"Adam solver","user":{"login":"PatWie","id":6756603,"avatar_url":"https://avatars.githubusercontent.com/u/6756603?v=3","gravatar_id":"","url":"https://api.github.com/users/PatWie","html_url":"https://github.com/PatWie","followers_url":"https://api.github.com/users/PatWie/followers","following_url":"https://api.github.com/users/PatWie/following{/other_user}","gists_url":"https://api.github.com/users/PatWie/gists{/gist_id}","starred_url":"https://api.github.com/users/PatWie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatWie/subscriptions","organizations_url":"https://api.github.com/users/PatWie/orgs","repos_url":"https://api.github.com/users/PatWie/repos","events_url":"https://api.github.com/users/PatWie/events{/privacy}","received_events_url":"https://api.github.com/users/PatWie/received_events","type":"User","site_admin":false},"body":"This commit implements the Adam solver by Kingma et. al for CPU and\r\nGPU. All solver parameters are defined in the caffe.proto. This also\r\nadds an example for the MNIST dataset.\r\n\r\nsee issue #2827 \r\n\r\nBefore merging, please review the code. I will add changes to this branch (and rebase) if there should be something to change.","created_at":"2015-08-04T09:52:26Z","updated_at":"2015-08-05T08:09:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fe5a198dd2b3af0ef1bd2021530eadf60d2dd1f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BVLC/caffe/pulls/2856/commits","review_comments_url":"https://api.github.com/repos/BVLC/caffe/pulls/2856/comments","review_comment_url":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/2856/comments","statuses_url":"https://api.github.com/repos/BVLC/caffe/statuses/28ad6b80add0bad07dc486e2ca044b8607642554","head":{"label":"PatWie:adam","ref":"adam","sha":"28ad6b80add0bad07dc486e2ca044b8607642554","user":{"login":"PatWie","id":6756603,"avatar_url":"https://avatars.githubusercontent.com/u/6756603?v=3","gravatar_id":"","url":"https://api.github.com/users/PatWie","html_url":"https://github.com/PatWie","followers_url":"https://api.github.com/users/PatWie/followers","following_url":"https://api.github.com/users/PatWie/following{/other_user}","gists_url":"https://api.github.com/users/PatWie/gists{/gist_id}","starred_url":"https://api.github.com/users/PatWie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatWie/subscriptions","organizations_url":"https://api.github.com/users/PatWie/orgs","repos_url":"https://api.github.com/users/PatWie/repos","events_url":"https://api.github.com/users/PatWie/events{/privacy}","received_events_url":"https://api.github.com/users/PatWie/received_events","type":"User","site_admin":false},"repo":{"id":25583388,"name":"caffe","full_name":"PatWie/caffe","owner":{"login":"PatWie","id":6756603,"avatar_url":"https://avatars.githubusercontent.com/u/6756603?v=3","gravatar_id":"","url":"https://api.github.com/users/PatWie","html_url":"https://github.com/PatWie","followers_url":"https://api.github.com/users/PatWie/followers","following_url":"https://api.github.com/users/PatWie/following{/other_user}","gists_url":"https://api.github.com/users/PatWie/gists{/gist_id}","starred_url":"https://api.github.com/users/PatWie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatWie/subscriptions","organizations_url":"https://api.github.com/users/PatWie/orgs","repos_url":"https://api.github.com/users/PatWie/repos","events_url":"https://api.github.com/users/PatWie/events{/privacy}","received_events_url":"https://api.github.com/users/PatWie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PatWie/caffe","description":"Caffe: a fast framework for deep learning. For the most recent version checkout the dev branch. For the latest stable release checkout the master branch.","fork":true,"url":"https://api.github.com/repos/PatWie/caffe","forks_url":"https://api.github.com/repos/PatWie/caffe/forks","keys_url":"https://api.github.com/repos/PatWie/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PatWie/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PatWie/caffe/teams","hooks_url":"https://api.github.com/repos/PatWie/caffe/hooks","issue_events_url":"https://api.github.com/repos/PatWie/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/PatWie/caffe/events","assignees_url":"https://api.github.com/repos/PatWie/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/PatWie/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/PatWie/caffe/tags","blobs_url":"https://api.github.com/repos/PatWie/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PatWie/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PatWie/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/PatWie/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PatWie/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/PatWie/caffe/languages","stargazers_url":"https://api.github.com/repos/PatWie/caffe/stargazers","contributors_url":"https://api.github.com/repos/PatWie/caffe/contributors","subscribers_url":"https://api.github.com/repos/PatWie/caffe/subscribers","subscription_url":"https://api.github.com/repos/PatWie/caffe/subscription","commits_url":"https://api.github.com/repos/PatWie/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/PatWie/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/PatWie/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/PatWie/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/PatWie/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/PatWie/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PatWie/caffe/merges","archive_url":"https://api.github.com/repos/PatWie/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PatWie/caffe/downloads","issues_url":"https://api.github.com/repos/PatWie/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/PatWie/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/PatWie/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/PatWie/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PatWie/caffe/labels{/name}","releases_url":"https://api.github.com/repos/PatWie/caffe/releases{/id}","created_at":"2014-10-22T13:39:32Z","updated_at":"2014-10-22T09:18:42Z","pushed_at":"2015-08-04T20:34:16Z","git_url":"git://github.com/PatWie/caffe.git","ssh_url":"git@github.com:PatWie/caffe.git","clone_url":"https://github.com/PatWie/caffe.git","svn_url":"https://github.com/PatWie/caffe","homepage":"http://caffe.berkeleyvision.org/","size":36034,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BVLC:master","ref":"master","sha":"d45d95c9892bc01e7a00861404cf9dd814acf61d","user":{"login":"BVLC","id":6182163,"avatar_url":"https://avatars.githubusercontent.com/u/6182163?v=3","gravatar_id":"","url":"https://api.github.com/users/BVLC","html_url":"https://github.com/BVLC","followers_url":"https://api.github.com/users/BVLC/followers","following_url":"https://api.github.com/users/BVLC/following{/other_user}","gists_url":"https://api.github.com/users/BVLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BVLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BVLC/subscriptions","organizations_url":"https://api.github.com/users/BVLC/orgs","repos_url":"https://api.github.com/users/BVLC/repos","events_url":"https://api.github.com/users/BVLC/events{/privacy}","received_events_url":"https://api.github.com/users/BVLC/received_events","type":"Organization","site_admin":false},"repo":{"id":12791642,"name":"caffe","full_name":"BVLC/caffe","owner":{"login":"BVLC","id":6182163,"avatar_url":"https://avatars.githubusercontent.com/u/6182163?v=3","gravatar_id":"","url":"https://api.github.com/users/BVLC","html_url":"https://github.com/BVLC","followers_url":"https://api.github.com/users/BVLC/followers","following_url":"https://api.github.com/users/BVLC/following{/other_user}","gists_url":"https://api.github.com/users/BVLC/gists{/gist_id}","starred_url":"https://api.github.com/users/BVLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BVLC/subscriptions","organizations_url":"https://api.github.com/users/BVLC/orgs","repos_url":"https://api.github.com/users/BVLC/repos","events_url":"https://api.github.com/users/BVLC/events{/privacy}","received_events_url":"https://api.github.com/users/BVLC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BVLC/caffe","description":"Caffe: a fast open framework for deep learning.","fork":false,"url":"https://api.github.com/repos/BVLC/caffe","forks_url":"https://api.github.com/repos/BVLC/caffe/forks","keys_url":"https://api.github.com/repos/BVLC/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BVLC/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BVLC/caffe/teams","hooks_url":"https://api.github.com/repos/BVLC/caffe/hooks","issue_events_url":"https://api.github.com/repos/BVLC/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/BVLC/caffe/events","assignees_url":"https://api.github.com/repos/BVLC/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/BVLC/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/BVLC/caffe/tags","blobs_url":"https://api.github.com/repos/BVLC/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BVLC/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BVLC/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/BVLC/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BVLC/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/BVLC/caffe/languages","stargazers_url":"https://api.github.com/repos/BVLC/caffe/stargazers","contributors_url":"https://api.github.com/repos/BVLC/caffe/contributors","subscribers_url":"https://api.github.com/repos/BVLC/caffe/subscribers","subscription_url":"https://api.github.com/repos/BVLC/caffe/subscription","commits_url":"https://api.github.com/repos/BVLC/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/BVLC/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/BVLC/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/BVLC/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/BVLC/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/BVLC/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BVLC/caffe/merges","archive_url":"https://api.github.com/repos/BVLC/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BVLC/caffe/downloads","issues_url":"https://api.github.com/repos/BVLC/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/BVLC/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/BVLC/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/BVLC/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BVLC/caffe/labels{/name}","releases_url":"https://api.github.com/repos/BVLC/caffe/releases{/id}","created_at":"2013-09-12T18:39:48Z","updated_at":"2015-08-05T07:23:53Z","pushed_at":"2015-08-04T22:39:08Z","git_url":"git://github.com/BVLC/caffe.git","ssh_url":"git@github.com:BVLC/caffe.git","clone_url":"https://github.com/BVLC/caffe.git","svn_url":"https://github.com/BVLC/caffe","homepage":"http://caffe.berkeleyvision.org/","size":66739,"stargazers_count":5418,"watchers_count":5418,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2978,"mirror_url":null,"open_issues_count":363,"forks":2978,"open_issues":363,"watchers":5418,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/2856"},"html":{"href":"https://github.com/BVLC/caffe/pull/2856"},"issue":{"href":"https://api.github.com/repos/BVLC/caffe/issues/2856"},"comments":{"href":"https://api.github.com/repos/BVLC/caffe/issues/2856/comments"},"review_comments":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/2856/comments"},"review_comment":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/2856/commits"},"statuses":{"href":"https://api.github.com/repos/BVLC/caffe/statuses/28ad6b80add0bad07dc486e2ca044b8607642554"}}}}