{"action":"closed","number":2144,"pull_request":{"url":"https://api.github.com/repos/BVLC/caffe/pulls/2144","id":31346688,"html_url":"https://github.com/BVLC/caffe/pull/2144","diff_url":"https://github.com/BVLC/caffe/pull/2144.diff","patch_url":"https://github.com/BVLC/caffe/pull/2144.patch","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/2144","number":2144,"state":"closed","locked":false,"title":"improved to load RGB image as grayscale image","user":{"login":"tishibas","id":3607303,"avatar_url":"https://avatars.githubusercontent.com/u/3607303?v=3","gravatar_id":"","url":"https://api.github.com/users/tishibas","html_url":"https://github.com/tishibas","followers_url":"https://api.github.com/users/tishibas/followers","following_url":"https://api.github.com/users/tishibas/following{/other_user}","gists_url":"https://api.github.com/users/tishibas/gists{/gist_id}","starred_url":"https://api.github.com/users/tishibas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tishibas/subscriptions","organizations_url":"https://api.github.com/users/tishibas/orgs","repos_url":"https://api.github.com/users/tishibas/repos","events_url":"https://api.github.com/users/tishibas/events{/privacy}","received_events_url":"https://api.github.com/users/tishibas/received_events","type":"User","site_admin":false},"body":"You can load RGB image as grayscale by using python io function, load_image.\r\n\r\nI had some troubles with loading RGB image as grayscale image in python interface.\r\nWe need this improvment when trying to classify by models trained with grayscale images such as mnist.\r\nSo I got this solution and found a person who has same suggestion in #462.","created_at":"2015-03-17T15:37:05Z","updated_at":"2016-01-26T23:17:00Z","closed_at":"2016-01-26T23:17:00Z","merged_at":"2016-01-26T23:17:00Z","merge_commit_sha":"c82f64496457033b33d64ff0e8bd856e12aea171","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BVLC/caffe/pulls/2144/commits","review_comments_url":"https://api.github.com/repos/BVLC/caffe/pulls/2144/comments","review_comment_url":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/2144/comments","statuses_url":"https://api.github.com/repos/BVLC/caffe/statuses/40ca4e68097589a6143a6754328a1f94786c118a","head":{"label":"tishibas:load_image-improved","ref":"load_image-improved","sha":"40ca4e68097589a6143a6754328a1f94786c118a","user":{"login":"tishibas","id":3607303,"avatar_url":"https://avatars.githubusercontent.com/u/3607303?v=3","gravatar_id":"","url":"https://api.github.com/users/tishibas","html_url":"https://github.com/tishibas","followers_url":"https://api.github.com/users/tishibas/followers","following_url":"https://api.github.com/users/tishibas/following{/other_user}","gists_url":"https://api.github.com/users/tishibas/gists{/gist_id}","starred_url":"https://api.github.com/users/tishibas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tishibas/subscriptions","organizations_url":"https://api.github.com/users/tishibas/orgs","repos_url":"https://api.github.com/users/tishibas/repos","events_url":"https://api.github.com/users/tishibas/events{/privacy}","received_events_url":"https://api.github.com/users/tishibas/received_events","type":"User","site_admin":false},"repo":{"id":31705964,"name":"caffe","full_name":"tishibas/caffe","owner":{"login":"tishibas","id":3607303,"avatar_url":"https://avatars.githubusercontent.com/u/3607303?v=3","gravatar_id":"","url":"https://api.github.com/users/tishibas","html_url":"https://github.com/tishibas","followers_url":"https://api.github.com/users/tishibas/followers","following_url":"https://api.github.com/users/tishibas/following{/other_user}","gists_url":"https://api.github.com/users/tishibas/gists{/gist_id}","starred_url":"https://api.github.com/users/tishibas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tishibas/subscriptions","organizations_url":"https://api.github.com/users/tishibas/orgs","repos_url":"https://api.github.com/users/tishibas/repos","events_url":"https://api.github.com/users/tishibas/events{/privacy}","received_events_url":"https://api.github.com/users/tishibas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tishibas/caffe","description":"Caffe: a fast open framework for deep learning.","fork":true,"url":"https://api.github.com/repos/tishibas/caffe","forks_url":"https://api.github.com/repos/tishibas/caffe/forks","keys_url":"https://api.github.com/repos/tishibas/caffe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tishibas/caffe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tishibas/caffe/teams","hooks_url":"https://api.github.com/repos/tishibas/caffe/hooks","issue_events_url":"https://api.github.com/repos/tishibas/caffe/issues/events{/number}","events_url":"https://api.github.com/repos/tishibas/caffe/events","assignees_url":"https://api.github.com/repos/tishibas/caffe/assignees{/user}","branches_url":"https://api.github.com/repos/tishibas/caffe/branches{/branch}","tags_url":"https://api.github.com/repos/tishibas/caffe/tags","blobs_url":"https://api.github.com/repos/tishibas/caffe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tishibas/caffe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tishibas/caffe/git/refs{/sha}","trees_url":"https://api.github.com/repos/tishibas/caffe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tishibas/caffe/statuses/{sha}","languages_url":"https://api.github.com/repos/tishibas/caffe/languages","stargazers_url":"https://api.github.com/repos/tishibas/caffe/stargazers","contributors_url":"https://api.github.com/repos/tishibas/caffe/contributors","subscribers_url":"https://api.github.com/repos/tishibas/caffe/subscribers","subscription_url":"https://api.github.com/repos/tishibas/caffe/subscription","commits_url":"https://api.github.com/repos/tishibas/caffe/commits{/sha}","git_commits_url":"https://api.github.com/repos/tishibas/caffe/git/commits{/sha}","comments_url":"https://api.github.com/repos/tishibas/caffe/comments{/number}","issue_comment_url":"https://api.github.com/repos/tishibas/caffe/issues/comments{/number}","contents_url":"https://api.github.com/repos/tishibas/caffe/contents/{+path}","compare_url":"https://api.github.com/repos/tishibas/caffe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tishibas/caffe/merges","archive_url":"https://api.github.com/repos/tishibas/caffe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tishibas/caffe/downloads","issues_url":"https://api.github.com/repos/tishibas/caffe/issues{/number}","pulls_url":"https://api.github.com/repos/tishibas/caffe/pulls{/number}","milestones_url":"https://api.github.com/repos/tishibas/caffe/milestones{/number}","notifications_url":"https://api.github.com/repos/tishibas/caffe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tishibas/caffe/labels{/name}","releases_url":"https://api.github.com/repos/tishibas/caffe/releases{/id}","deployments_url":"https://api.github.com/repos/tishibas/caffe/deployments","created_at":"2015-03-05T09:23:21Z","updated_at":"2015-03-05T09:23:23Z","pushed_at":"2015-03-17T15:12:10Z","git_url":"git://github.com/tishibas/caffe.git","ssh_url":"git@github.com:tishibas/caffe.git","clone_url":"https://github.com/tishibas/caffe.git","svn_url":"https://github.com/tishibas/caffe","homepage":"http://caffe.berkeleyvision.org/","size":33144,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"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":"633ad15dbc38aa72648c2c8f6034b64844ca84d1","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-01-26T23:13:46Z","pushed_at":"2016-01-26T23:17:00Z","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":127332,"stargazers_count":8191,"watchers_count":8191,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4657,"mirror_url":null,"open_issues_count":514,"forks":4657,"open_issues":514,"watchers":8191,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/2144"},"html":{"href":"https://github.com/BVLC/caffe/pull/2144"},"issue":{"href":"https://api.github.com/repos/BVLC/caffe/issues/2144"},"comments":{"href":"https://api.github.com/repos/BVLC/caffe/issues/2144/comments"},"review_comments":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/2144/comments"},"review_comment":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BVLC/caffe/pulls/2144/commits"},"statuses":{"href":"https://api.github.com/repos/BVLC/caffe/statuses/40ca4e68097589a6143a6754328a1f94786c118a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}