{"action":"opened","number":1972,"pull_request":{"url":"https://api.github.com/repos/BVLC/caffe/pulls/1972","id":30035790,"html_url":"https://github.com/BVLC/caffe/pull/1972","diff_url":"https://github.com/BVLC/caffe/pull/1972.diff","patch_url":"https://github.com/BVLC/caffe/pull/1972.patch","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/1972","number":1972,"state":"open","locked":false,"title":"solver.cpp: call UpgradeNetAsNeeded() on learned_net in Solver::Restore()","user":{"login":"moskewcz","id":6487731,"avatar_url":"https://avatars.githubusercontent.com/u/6487731?v=3","gravatar_id":"","url":"https://api.github.com/users/moskewcz","html_url":"https://github.com/moskewcz","followers_url":"https://api.github.com/users/moskewcz/followers","following_url":"https://api.github.com/users/moskewcz/following{/other_user}","gists_url":"https://api.github.com/users/moskewcz/gists{/gist_id}","starred_url":"https://api.github.com/users/moskewcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moskewcz/subscriptions","organizations_url":"https://api.github.com/users/moskewcz/orgs","repos_url":"https://api.github.com/users/moskewcz/repos","events_url":"https://api.github.com/users/moskewcz/events{/privacy}","received_events_url":"https://api.github.com/users/moskewcz/received_events","type":"User","site_admin":false},"body":"when resuming training using the --snapshot option, and thus loading .solverstate files, it seems caffe will load the linked-to .caffemodel file without calling UpgradeNetAsNeeded() on the loaded net as it does elsewhere. this seems to cause the resultant loaded net to be (silently) garbage in the case where the linked-to prototxt needed an upgrade. perhaps we want to do something like this? i guess this is only an issue for resuming 'old' training runs, which might not in general be supported. but if it's not to be supported, perhaps it should be error-checked somehow? and perhaps even if it's generally unsupported this feature/fix might be wanted.","created_at":"2015-02-25T23:19:09Z","updated_at":"2015-02-25T23:19:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BVLC/caffe/pulls/1972/commits","review_comments_url":"https://api.github.com/repos/BVLC/caffe/pulls/1972/comments","review_comment_url":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/1972/comments","statuses_url":"https://api.github.com/repos/BVLC/caffe/statuses/26f3c130921ac71f9772f0c2c42add37b8873502","head":{"label":"moskewcz:upgrade_net_on_resume","ref":"upgrade_net_on_resume","sha":"26f3c130921ac71f9772f0c2c42add37b8873502","user":{"login":"moskewcz","id":6487731,"avatar_url":"https://avatars.githubusercontent.com/u/6487731?v=3","gravatar_id":"","url":"https://api.github.com/users/moskewcz","html_url":"https://github.com/moskewcz","followers_url":"https://api.github.com/users/moskewcz/followers","following_url":"https://api.github.com/users/moskewcz/following{/other_user}","gists_url":"https://api.github.com/users/moskewcz/gists{/gist_id}","starred_url":"https://api.github.com/users/moskewcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moskewcz/subscriptions","organizations_url":"https://api.github.com/users/moskewcz/orgs","repos_url":"https://api.github.com/users/moskewcz/repos","events_url":"https://api.github.com/users/moskewcz/events{/privacy}","received_events_url":"https://api.github.com/users/moskewcz/received_events","type":"User","site_admin":false},"repo":{"id":26563436,"name":"caffe","full_name":"moskewcz/caffe","owner":{"login":"moskewcz","id":6487731,"avatar_url":"https://avatars.githubusercontent.com/u/6487731?v=3","gravatar_id":"","url":"https://api.github.com/users/moskewcz","html_url":"https://github.com/moskewcz","followers_url":"https://api.github.com/users/moskewcz/followers","following_url":"https://api.github.com/users/moskewcz/following{/other_user}","gists_url":"https://api.github.com/users/moskewcz/gists{/gist_id}","starred_url":"https://api.github.com/users/moskewcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moskewcz/subscriptions","organizations_url":"https://api.github.com/users/moskewcz/orgs","repos_url":"https://api.github.com/users/moskewcz/repos","events_url":"https://api.github.com/users/moskewcz/events{/privacy}","received_events_url":"https://api.github.com/users/moskewcz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moskewcz/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/moskewcz/caffe","forks_url":"https://api.github.com/repos/moskewcz/caffe/forks","keys_url":"https://api.github.com/repos/moskewcz/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moskewcz/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moskewcz/caffe/teams","hooks_url":"https://api.github.com/repos/moskewcz/caffe/hooks","issue_events_url":"https://api.github.com/repos/moskewcz/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/moskewcz/caffe/events","assignees_url":"https://api.github.com/repos/moskewcz/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/moskewcz/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/moskewcz/caffe/tags","blobs_url":"https://api.github.com/repos/moskewcz/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moskewcz/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moskewcz/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/moskewcz/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moskewcz/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/moskewcz/caffe/languages","stargazers_url":"https://api.github.com/repos/moskewcz/caffe/stargazers","contributors_url":"https://api.github.com/repos/moskewcz/caffe/contributors","subscribers_url":"https://api.github.com/repos/moskewcz/caffe/subscribers","subscription_url":"https://api.github.com/repos/moskewcz/caffe/subscription","commits_url":"https://api.github.com/repos/moskewcz/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/moskewcz/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/moskewcz/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/moskewcz/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/moskewcz/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/moskewcz/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moskewcz/caffe/merges","archive_url":"https://api.github.com/repos/moskewcz/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moskewcz/caffe/downloads","issues_url":"https://api.github.com/repos/moskewcz/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/moskewcz/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/moskewcz/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/moskewcz/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moskewcz/caffe/labels{/name}","releases_url":"https://api.github.com/repos/moskewcz/caffe/releases{/id}","created_at":"2014-11-13T00:46:20Z","updated_at":"2014-11-13T00:46:21Z","pushed_at":"2015-02-25T23:12:53Z","git_url":"git://github.com/moskewcz/caffe.git","ssh_url":"git@github.com:moskewcz/caffe.git","clone_url":"https://github.com/moskewcz/caffe.git","svn_url":"https://github.com/moskewcz/caffe","homepage":"http://caffe.berkeleyvision.org/","size":58138,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"BVLC:master","ref":"master","sha":"b9aa166526cdfec7dcb83fd6fce342cd8c6c3153","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-02-25T20:50:43Z","pushed_at":"2015-02-25T07:00:27Z","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":48687,"stargazers_count":2521,"watchers_count":2521,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1414,"mirror_url":null,"open_issues_count":245,"forks":1414,"open_issues":245,"watchers":2521,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/1972"},"html":{"href":"https://github.com/BVLC/caffe/pull/1972"},"issue":{"href":"https://api.github.com/repos/BVLC/caffe/issues/1972"},"comments":{"href":"https://api.github.com/repos/BVLC/caffe/issues/1972/comments"},"review_comments":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/1972/comments"},"review_comment":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/1972/commits"},"statuses":{"href":"https://api.github.com/repos/BVLC/caffe/statuses/26f3c130921ac71f9772f0c2c42add37b8873502"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}