{"action":"opened","number":912,"pull_request":{"url":"https://api.github.com/repos/dmlc/mxnet/pulls/912","id":53496216,"html_url":"https://github.com/dmlc/mxnet/pull/912","diff_url":"https://github.com/dmlc/mxnet/pull/912.diff","patch_url":"https://github.com/dmlc/mxnet/pull/912.patch","issue_url":"https://api.github.com/repos/dmlc/mxnet/issues/912","number":912,"state":"open","locked":false,"title":"Handle grayscale images as training data.","user":{"login":"Nzeuwik","id":10558964,"avatar_url":"https://avatars.githubusercontent.com/u/10558964?v=3","gravatar_id":"","url":"https://api.github.com/users/Nzeuwik","html_url":"https://github.com/Nzeuwik","followers_url":"https://api.github.com/users/Nzeuwik/followers","following_url":"https://api.github.com/users/Nzeuwik/following{/other_user}","gists_url":"https://api.github.com/users/Nzeuwik/gists{/gist_id}","starred_url":"https://api.github.com/users/Nzeuwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nzeuwik/subscriptions","organizations_url":"https://api.github.com/users/Nzeuwik/orgs","repos_url":"https://api.github.com/users/Nzeuwik/repos","events_url":"https://api.github.com/users/Nzeuwik/events{/privacy}","received_events_url":"https://api.github.com/users/Nzeuwik/received_events","type":"User","site_admin":false},"body":"This PR allows to create a dataset with grayscale images (1 channel).\r\n* Add a color parameter in the tool im2rec, to choose color mode (color, or grayscale)\r\n* Decode rec dataset without forcing color mode (so, keep the color mode of the encoded data)\r\n* Substract mean on 1 channel only for grayscale image\r\n#805","created_at":"2015-12-13T09:28:14Z","updated_at":"2015-12-13T09:28:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dmlc/mxnet/pulls/912/commits","review_comments_url":"https://api.github.com/repos/dmlc/mxnet/pulls/912/comments","review_comment_url":"https://api.github.com/repos/dmlc/mxnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/912/comments","statuses_url":"https://api.github.com/repos/dmlc/mxnet/statuses/e9845f960c755c4470628cffa04d4727a9e40c7c","head":{"label":"Nzeuwik:master","ref":"master","sha":"e9845f960c755c4470628cffa04d4727a9e40c7c","user":{"login":"Nzeuwik","id":10558964,"avatar_url":"https://avatars.githubusercontent.com/u/10558964?v=3","gravatar_id":"","url":"https://api.github.com/users/Nzeuwik","html_url":"https://github.com/Nzeuwik","followers_url":"https://api.github.com/users/Nzeuwik/followers","following_url":"https://api.github.com/users/Nzeuwik/following{/other_user}","gists_url":"https://api.github.com/users/Nzeuwik/gists{/gist_id}","starred_url":"https://api.github.com/users/Nzeuwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nzeuwik/subscriptions","organizations_url":"https://api.github.com/users/Nzeuwik/orgs","repos_url":"https://api.github.com/users/Nzeuwik/repos","events_url":"https://api.github.com/users/Nzeuwik/events{/privacy}","received_events_url":"https://api.github.com/users/Nzeuwik/received_events","type":"User","site_admin":false},"repo":{"id":47555586,"name":"mxnet","full_name":"Nzeuwik/mxnet","owner":{"login":"Nzeuwik","id":10558964,"avatar_url":"https://avatars.githubusercontent.com/u/10558964?v=3","gravatar_id":"","url":"https://api.github.com/users/Nzeuwik","html_url":"https://github.com/Nzeuwik","followers_url":"https://api.github.com/users/Nzeuwik/followers","following_url":"https://api.github.com/users/Nzeuwik/following{/other_user}","gists_url":"https://api.github.com/users/Nzeuwik/gists{/gist_id}","starred_url":"https://api.github.com/users/Nzeuwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nzeuwik/subscriptions","organizations_url":"https://api.github.com/users/Nzeuwik/orgs","repos_url":"https://api.github.com/users/Nzeuwik/repos","events_url":"https://api.github.com/users/Nzeuwik/events{/privacy}","received_events_url":"https://api.github.com/users/Nzeuwik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nzeuwik/mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Go, Javascript and more","fork":true,"url":"https://api.github.com/repos/Nzeuwik/mxnet","forks_url":"https://api.github.com/repos/Nzeuwik/mxnet/forks","keys_url":"https://api.github.com/repos/Nzeuwik/mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nzeuwik/mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nzeuwik/mxnet/teams","hooks_url":"https://api.github.com/repos/Nzeuwik/mxnet/hooks","issue_events_url":"https://api.github.com/repos/Nzeuwik/mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/Nzeuwik/mxnet/events","assignees_url":"https://api.github.com/repos/Nzeuwik/mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/Nzeuwik/mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/Nzeuwik/mxnet/tags","blobs_url":"https://api.github.com/repos/Nzeuwik/mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nzeuwik/mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nzeuwik/mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nzeuwik/mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nzeuwik/mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/Nzeuwik/mxnet/languages","stargazers_url":"https://api.github.com/repos/Nzeuwik/mxnet/stargazers","contributors_url":"https://api.github.com/repos/Nzeuwik/mxnet/contributors","subscribers_url":"https://api.github.com/repos/Nzeuwik/mxnet/subscribers","subscription_url":"https://api.github.com/repos/Nzeuwik/mxnet/subscription","commits_url":"https://api.github.com/repos/Nzeuwik/mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nzeuwik/mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nzeuwik/mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nzeuwik/mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nzeuwik/mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/Nzeuwik/mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nzeuwik/mxnet/merges","archive_url":"https://api.github.com/repos/Nzeuwik/mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nzeuwik/mxnet/downloads","issues_url":"https://api.github.com/repos/Nzeuwik/mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/Nzeuwik/mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/Nzeuwik/mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/Nzeuwik/mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nzeuwik/mxnet/labels{/name}","releases_url":"https://api.github.com/repos/Nzeuwik/mxnet/releases{/id}","created_at":"2015-12-07T14:02:43Z","updated_at":"2015-12-07T14:02:45Z","pushed_at":"2015-12-13T09:20:41Z","git_url":"git://github.com/Nzeuwik/mxnet.git","ssh_url":"git@github.com:Nzeuwik/mxnet.git","clone_url":"https://github.com/Nzeuwik/mxnet.git","svn_url":"https://github.com/Nzeuwik/mxnet","homepage":"http://mxnet.rtfd.org","size":3757,"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":"dmlc:master","ref":"master","sha":"f43d8f74660f62a574bc61ca2b058724941441f9","user":{"login":"dmlc","id":11508361,"avatar_url":"https://avatars.githubusercontent.com/u/11508361?v=3","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"repo":{"id":34864402,"name":"mxnet","full_name":"dmlc/mxnet","owner":{"login":"dmlc","id":11508361,"avatar_url":"https://avatars.githubusercontent.com/u/11508361?v=3","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dmlc/mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Go, Javascript and more","fork":false,"url":"https://api.github.com/repos/dmlc/mxnet","forks_url":"https://api.github.com/repos/dmlc/mxnet/forks","keys_url":"https://api.github.com/repos/dmlc/mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlc/mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlc/mxnet/teams","hooks_url":"https://api.github.com/repos/dmlc/mxnet/hooks","issue_events_url":"https://api.github.com/repos/dmlc/mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/dmlc/mxnet/events","assignees_url":"https://api.github.com/repos/dmlc/mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/dmlc/mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/dmlc/mxnet/tags","blobs_url":"https://api.github.com/repos/dmlc/mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlc/mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlc/mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlc/mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlc/mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlc/mxnet/languages","stargazers_url":"https://api.github.com/repos/dmlc/mxnet/stargazers","contributors_url":"https://api.github.com/repos/dmlc/mxnet/contributors","subscribers_url":"https://api.github.com/repos/dmlc/mxnet/subscribers","subscription_url":"https://api.github.com/repos/dmlc/mxnet/subscription","commits_url":"https://api.github.com/repos/dmlc/mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlc/mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlc/mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlc/mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlc/mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/dmlc/mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlc/mxnet/merges","archive_url":"https://api.github.com/repos/dmlc/mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlc/mxnet/downloads","issues_url":"https://api.github.com/repos/dmlc/mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/dmlc/mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlc/mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlc/mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlc/mxnet/labels{/name}","releases_url":"https://api.github.com/repos/dmlc/mxnet/releases{/id}","created_at":"2015-04-30T16:21:15Z","updated_at":"2015-12-13T08:57:27Z","pushed_at":"2015-12-13T08:23:48Z","git_url":"git://github.com/dmlc/mxnet.git","ssh_url":"git@github.com:dmlc/mxnet.git","clone_url":"https://github.com/dmlc/mxnet.git","svn_url":"https://github.com/dmlc/mxnet","homepage":"http://mxnet.rtfd.org","size":4923,"stargazers_count":1767,"watchers_count":1767,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":538,"mirror_url":null,"open_issues_count":124,"forks":538,"open_issues":124,"watchers":1767,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/912"},"html":{"href":"https://github.com/dmlc/mxnet/pull/912"},"issue":{"href":"https://api.github.com/repos/dmlc/mxnet/issues/912"},"comments":{"href":"https://api.github.com/repos/dmlc/mxnet/issues/912/comments"},"review_comments":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/912/comments"},"review_comment":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/912/commits"},"statuses":{"href":"https://api.github.com/repos/dmlc/mxnet/statuses/e9845f960c755c4470628cffa04d4727a9e40c7c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":40,"deletions":14,"changed_files":3}}