{"action":"created","issue":{"url":"https://api.github.com/repos/uoguelph-mlrg/theano_alexnet/issues/18","labels_url":"https://api.github.com/repos/uoguelph-mlrg/theano_alexnet/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/uoguelph-mlrg/theano_alexnet/issues/18/comments","events_url":"https://api.github.com/repos/uoguelph-mlrg/theano_alexnet/issues/18/events","html_url":"https://github.com/uoguelph-mlrg/theano_alexnet/pull/18","id":103782310,"number":18,"title":"Add RGB intensity regularization","user":{"login":"hma02","id":12686013,"avatar_url":"https://avatars.githubusercontent.com/u/12686013?v=3","gravatar_id":"","url":"https://api.github.com/users/hma02","html_url":"https://github.com/hma02","followers_url":"https://api.github.com/users/hma02/followers","following_url":"https://api.github.com/users/hma02/following{/other_user}","gists_url":"https://api.github.com/users/hma02/gists{/gist_id}","starred_url":"https://api.github.com/users/hma02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hma02/subscriptions","organizations_url":"https://api.github.com/users/hma02/orgs","repos_url":"https://api.github.com/users/hma02/repos","events_url":"https://api.github.com/users/hma02/events{/privacy}","received_events_url":"https://api.github.com/users/hma02/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-28T19:38:34Z","updated_at":"2015-09-05T17:08:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/uoguelph-mlrg/theano_alexnet/pulls/18","html_url":"https://github.com/uoguelph-mlrg/theano_alexnet/pull/18","diff_url":"https://github.com/uoguelph-mlrg/theano_alexnet/pull/18.diff","patch_url":"https://github.com/uoguelph-mlrg/theano_alexnet/pull/18.patch"},"body":"Add RGB regularization on image pixels to make the Neural Network invariant to changes in the intensity and color of the illumination. First, run python get_cov_matrix.py to generate the RGB covariance matrix file and RGB mean file based on all training images. Then use the new proc_load.py during training, which will load the covariance matrix and add RGB regularization to each image before cropping. \r\n\r\nHere's a sample result of the the RGB covariance matrix generated from 1.2 million training images:\r\n\r\n[[RR   RG    RB], [GR   GG    GB], [BR    BG    BB]]=\r\n[[ 5092.20548764  4433.19480634  3994.61330229]\r\n [ 4433.19480634  4832.88253809  4575.09578822]\r\n [ 3994.61330229  4575.09578822  5332.67691264]]\r\n\r\nThis is related to issue https://github.com/uoguelph-mlrg/theano_alexnet/issues/15"},"comment":{"url":"https://api.github.com/repos/uoguelph-mlrg/theano_alexnet/issues/comments/137977394","html_url":"https://github.com/uoguelph-mlrg/theano_alexnet/pull/18#issuecomment-137977394","issue_url":"https://api.github.com/repos/uoguelph-mlrg/theano_alexnet/issues/18","id":137977394,"user":{"login":"gwding","id":7264698,"avatar_url":"https://avatars.githubusercontent.com/u/7264698?v=3","gravatar_id":"","url":"https://api.github.com/users/gwding","html_url":"https://github.com/gwding","followers_url":"https://api.github.com/users/gwding/followers","following_url":"https://api.github.com/users/gwding/following{/other_user}","gists_url":"https://api.github.com/users/gwding/gists{/gist_id}","starred_url":"https://api.github.com/users/gwding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwding/subscriptions","organizations_url":"https://api.github.com/users/gwding/orgs","repos_url":"https://api.github.com/users/gwding/repos","events_url":"https://api.github.com/users/gwding/events{/privacy}","received_events_url":"https://api.github.com/users/gwding/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T17:08:34Z","updated_at":"2015-09-05T17:08:34Z","body":"could you also report the accuracy after adding the RGB augmentation?"}}