{"action":"closed","number":3865,"pull_request":{"url":"https://api.github.com/repos/BVLC/caffe/pulls/3865","id":63648506,"html_url":"https://github.com/BVLC/caffe/pull/3865","diff_url":"https://github.com/BVLC/caffe/pull/3865.diff","patch_url":"https://github.com/BVLC/caffe/pull/3865.patch","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/3865","number":3865,"state":"closed","locked":false,"title":"Added check before register ptr to python","user":{"login":"gongenhao","id":3083879,"avatar_url":"https://avatars.githubusercontent.com/u/3083879?v=3","gravatar_id":"","url":"https://api.github.com/users/gongenhao","html_url":"https://github.com/gongenhao","followers_url":"https://api.github.com/users/gongenhao/followers","following_url":"https://api.github.com/users/gongenhao/following{/other_user}","gists_url":"https://api.github.com/users/gongenhao/gists{/gist_id}","starred_url":"https://api.github.com/users/gongenhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gongenhao/subscriptions","organizations_url":"https://api.github.com/users/gongenhao/orgs","repos_url":"https://api.github.com/users/gongenhao/repos","events_url":"https://api.github.com/users/gongenhao/events{/privacy}","received_events_url":"https://api.github.com/users/gongenhao/received_events","type":"User","site_admin":false},"body":"add check before register ptr to python for Net,Blob,Layers. \r\nable to solve the warning related to: \r\n[https://github.com/BVLC/caffe/pull/3575](https://github.com/BVLC/caffe/pull/3575)\r\nand \r\n[https://groups.google.com/forum/#!topic/caffe-users/C_air48cISU](https://groups.google.com/forum/#!topic/caffe-users/C_air48cISU)\r\n\r\nOn master branch, there are warnings when run pycaffe.\r\n/home/ubuntu/caffe/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptr<caffe::Net<float> > already registered; second conversion method ignored.\r\n  from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \\\r\n/home/ubuntu/caffe/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptr<caffe::Blob<float> > already registered; second conversion method ignored.\r\n  from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \\\r\n/home/ubuntu/caffe/python/caffe/pycaffe.py:13: RuntimeWarning: to-Python converter for boost::shared_ptr<caffe::Solver<float> > already registered; second conversion method ignored.\r\n  from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \\","created_at":"2016-03-21T23:23:16Z","updated_at":"2016-03-22T00:08:53Z","closed_at":"2016-03-22T00:08:53Z","merged_at":null,"merge_commit_sha":"66a1bdcabc036c0ff0c9d75cda8e50df3b0c576a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BVLC/caffe/pulls/3865/commits","review_comments_url":"https://api.github.com/repos/BVLC/caffe/pulls/3865/comments","review_comment_url":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/3865/comments","statuses_url":"https://api.github.com/repos/BVLC/caffe/statuses/93e477e79ab438dcb8aacfeb75f7f32f4cfd0d8d","head":{"label":"gongenhao:master","ref":"master","sha":"93e477e79ab438dcb8aacfeb75f7f32f4cfd0d8d","user":{"login":"gongenhao","id":3083879,"avatar_url":"https://avatars.githubusercontent.com/u/3083879?v=3","gravatar_id":"","url":"https://api.github.com/users/gongenhao","html_url":"https://github.com/gongenhao","followers_url":"https://api.github.com/users/gongenhao/followers","following_url":"https://api.github.com/users/gongenhao/following{/other_user}","gists_url":"https://api.github.com/users/gongenhao/gists{/gist_id}","starred_url":"https://api.github.com/users/gongenhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gongenhao/subscriptions","organizations_url":"https://api.github.com/users/gongenhao/orgs","repos_url":"https://api.github.com/users/gongenhao/repos","events_url":"https://api.github.com/users/gongenhao/events{/privacy}","received_events_url":"https://api.github.com/users/gongenhao/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"BVLC:master","ref":"master","sha":"be163be0ea5befada208dbf0db29e6fa5811dc86","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}","deployments_url":"https://api.github.com/repos/BVLC/caffe/deployments","created_at":"2013-09-12T18:39:48Z","updated_at":"2016-03-22T00:08:40Z","pushed_at":"2016-03-21T23:23:16Z","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":257905,"stargazers_count":9139,"watchers_count":9139,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5246,"mirror_url":null,"open_issues_count":565,"forks":5246,"open_issues":565,"watchers":9139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/3865"},"html":{"href":"https://github.com/BVLC/caffe/pull/3865"},"issue":{"href":"https://api.github.com/repos/BVLC/caffe/issues/3865"},"comments":{"href":"https://api.github.com/repos/BVLC/caffe/issues/3865/comments"},"review_comments":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/3865/comments"},"review_comment":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/3865/commits"},"statuses":{"href":"https://api.github.com/repos/BVLC/caffe/statuses/93e477e79ab438dcb8aacfeb75f7f32f4cfd0d8d"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":3,"changed_files":1}}