{"action":"closed","number":6004,"pull_request":{"url":"https://api.github.com/repos/dmlc/mxnet/pulls/6004","id":117888294,"html_url":"https://github.com/dmlc/mxnet/pull/6004","diff_url":"https://github.com/dmlc/mxnet/pull/6004.diff","patch_url":"https://github.com/dmlc/mxnet/pull/6004.patch","issue_url":"https://api.github.com/repos/dmlc/mxnet/issues/6004","number":6004,"state":"closed","locked":false,"title":"update resnet of faster-rcnn configuration","user":{"login":"fullfanta","id":9082445,"avatar_url":"https://avatars1.githubusercontent.com/u/9082445?v=3","gravatar_id":"","url":"https://api.github.com/users/fullfanta","html_url":"https://github.com/fullfanta","followers_url":"https://api.github.com/users/fullfanta/followers","following_url":"https://api.github.com/users/fullfanta/following{/other_user}","gists_url":"https://api.github.com/users/fullfanta/gists{/gist_id}","starred_url":"https://api.github.com/users/fullfanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullfanta/subscriptions","organizations_url":"https://api.github.com/users/fullfanta/orgs","repos_url":"https://api.github.com/users/fullfanta/repos","events_url":"https://api.github.com/users/fullfanta/events{/privacy}","received_events_url":"https://api.github.com/users/fullfanta/received_events","type":"User","site_admin":false},"body":"I updated faster-rcnn's resnet configuration.\r\n\r\n1. config.py\r\nin config.py, FIXED_PARAMS are defined and they are searched in module.py as (https://github.com/dmlc/mxnet/blob/master/example/rcnn/rcnn/core/module.py#L43-L49)\r\n```\r\n        if fixed_param_prefix is not None:\r\n            for name in self._symbol.list_arguments():\r\n                for prefix in self._fixed_param_prefix:\r\n                    if name.startswith(prefix):\r\n                        fixed_param_names.append(name)\r\n```\r\nBut, there are no params start with 'gamma' and 'beta', but 'bn0', 'bn_data'.\r\nSo, I updated configuration for resnet.\r\n\r\n2. symbol_resnet.py\r\nWhen I loaded pretrained resnet model and finetune for faster-rcnn, bn_data's gamma becomes not pretrained value but 1 due to fix_gamma=True.\r\n\r\nAccording to the config.py, to use pretrained model's parameters again in (conv0, stage1, bn0, bn_data), fix_gamma should be False.\r\n\r\n3. Experiment\r\nI trained resnet101 using end2end method, VOC 07 data, with different configuration.\r\n\r\nWith previous configuration, I got mAP as 74.33%.\r\nWith updated configuration, I got mAP as 75.26%\r\n\r\nIn detail, with previous configuration,\r\n```\r\nAP for aeroplane = 0.7521\r\nAP for bicycle = 0.7964\r\nAP for bird = 0.7490\r\nAP for boat = 0.6181\r\nAP for bottle = 0.5711\r\nAP for bus = 0.7941\r\nAP for car = 0.8394\r\nAP for cat = 0.8789\r\nAP for chair = 0.5871\r\nAP for cow = 0.8187\r\nAP for diningtable = 0.7141\r\nAP for dog = 0.8578\r\nAP for horse = 0.8587\r\nAP for motorbike = 0.7777\r\nAP for person = 0.7865\r\nAP for pottedplant = 0.4594\r\nAP for sheep = 0.7270\r\nAP for sofa = 0.7529\r\nAP for train = 0.7722\r\nAP for tvmonitor = 0.7540\r\nMean AP = 0.7433\r\n```\r\n\r\nwith updated configuration, \r\n```\r\nAP for aeroplane = 0.7669\r\nAP for bicycle = 0.8166\r\nAP for bird = 0.7678\r\nAP for boat = 0.6317\r\nAP for bottle = 0.5984\r\nAP for bus = 0.7827\r\nAP for car = 0.8442\r\nAP for cat = 0.8623\r\nAP for chair = 0.5904\r\nAP for cow = 0.8179\r\nAP for diningtable = 0.7044\r\nAP for dog = 0.8682\r\nAP for horse = 0.8445\r\nAP for motorbike = 0.7930\r\nAP for person = 0.7890\r\nAP for pottedplant = 0.4745\r\nAP for sheep = 0.7610\r\nAP for sofa = 0.7598\r\nAP for train = 0.8099\r\nAP for tvmonitor = 0.7685\r\nMean AP = 0.7526\r\n```\r\n\r\nAccording to the results, I suggest you to update.","created_at":"2017-04-27T08:48:44Z","updated_at":"2017-05-16T03:24:34Z","closed_at":"2017-05-16T03:24:34Z","merged_at":"2017-05-16T03:24:34Z","merge_commit_sha":"9786c93a3901a1f421e9088afc568a5c022e06d6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmlc/mxnet/pulls/6004/commits","review_comments_url":"https://api.github.com/repos/dmlc/mxnet/pulls/6004/comments","review_comment_url":"https://api.github.com/repos/dmlc/mxnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/6004/comments","statuses_url":"https://api.github.com/repos/dmlc/mxnet/statuses/3a7953ccadfa6af916bfa4b4e0a3365dfef0c1ee","head":{"label":"fullfanta:master","ref":"master","sha":"3a7953ccadfa6af916bfa4b4e0a3365dfef0c1ee","user":{"login":"fullfanta","id":9082445,"avatar_url":"https://avatars1.githubusercontent.com/u/9082445?v=3","gravatar_id":"","url":"https://api.github.com/users/fullfanta","html_url":"https://github.com/fullfanta","followers_url":"https://api.github.com/users/fullfanta/followers","following_url":"https://api.github.com/users/fullfanta/following{/other_user}","gists_url":"https://api.github.com/users/fullfanta/gists{/gist_id}","starred_url":"https://api.github.com/users/fullfanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullfanta/subscriptions","organizations_url":"https://api.github.com/users/fullfanta/orgs","repos_url":"https://api.github.com/users/fullfanta/repos","events_url":"https://api.github.com/users/fullfanta/events{/privacy}","received_events_url":"https://api.github.com/users/fullfanta/received_events","type":"User","site_admin":false},"repo":{"id":89324672,"name":"mxnet","full_name":"fullfanta/mxnet","owner":{"login":"fullfanta","id":9082445,"avatar_url":"https://avatars1.githubusercontent.com/u/9082445?v=3","gravatar_id":"","url":"https://api.github.com/users/fullfanta","html_url":"https://github.com/fullfanta","followers_url":"https://api.github.com/users/fullfanta/followers","following_url":"https://api.github.com/users/fullfanta/following{/other_user}","gists_url":"https://api.github.com/users/fullfanta/gists{/gist_id}","starred_url":"https://api.github.com/users/fullfanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullfanta/subscriptions","organizations_url":"https://api.github.com/users/fullfanta/orgs","repos_url":"https://api.github.com/users/fullfanta/repos","events_url":"https://api.github.com/users/fullfanta/events{/privacy}","received_events_url":"https://api.github.com/users/fullfanta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fullfanta/mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more","fork":true,"url":"https://api.github.com/repos/fullfanta/mxnet","forks_url":"https://api.github.com/repos/fullfanta/mxnet/forks","keys_url":"https://api.github.com/repos/fullfanta/mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fullfanta/mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fullfanta/mxnet/teams","hooks_url":"https://api.github.com/repos/fullfanta/mxnet/hooks","issue_events_url":"https://api.github.com/repos/fullfanta/mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/fullfanta/mxnet/events","assignees_url":"https://api.github.com/repos/fullfanta/mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/fullfanta/mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/fullfanta/mxnet/tags","blobs_url":"https://api.github.com/repos/fullfanta/mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fullfanta/mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fullfanta/mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/fullfanta/mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fullfanta/mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/fullfanta/mxnet/languages","stargazers_url":"https://api.github.com/repos/fullfanta/mxnet/stargazers","contributors_url":"https://api.github.com/repos/fullfanta/mxnet/contributors","subscribers_url":"https://api.github.com/repos/fullfanta/mxnet/subscribers","subscription_url":"https://api.github.com/repos/fullfanta/mxnet/subscription","commits_url":"https://api.github.com/repos/fullfanta/mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/fullfanta/mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/fullfanta/mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/fullfanta/mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/fullfanta/mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/fullfanta/mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fullfanta/mxnet/merges","archive_url":"https://api.github.com/repos/fullfanta/mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fullfanta/mxnet/downloads","issues_url":"https://api.github.com/repos/fullfanta/mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/fullfanta/mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/fullfanta/mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/fullfanta/mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fullfanta/mxnet/labels{/name}","releases_url":"https://api.github.com/repos/fullfanta/mxnet/releases{/id}","deployments_url":"https://api.github.com/repos/fullfanta/mxnet/deployments","created_at":"2017-04-25T06:21:17Z","updated_at":"2017-04-25T06:21:23Z","pushed_at":"2017-05-11T05:20:00Z","git_url":"git://github.com/fullfanta/mxnet.git","ssh_url":"git@github.com:fullfanta/mxnet.git","clone_url":"https://github.com/fullfanta/mxnet.git","svn_url":"https://github.com/fullfanta/mxnet","homepage":"http://mxnet.io","size":17477,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"e383fd8946efd04d90267b07a75b5ccdc92e1050","user":{"login":"dmlc","id":11508361,"avatar_url":"https://avatars1.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://avatars1.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, Scala, 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}","deployments_url":"https://api.github.com/repos/dmlc/mxnet/deployments","created_at":"2015-04-30T16:21:15Z","updated_at":"2017-05-16T03:17:54Z","pushed_at":"2017-05-16T03:24:34Z","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.io","size":17697,"stargazers_count":9638,"watchers_count":9638,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3621,"mirror_url":null,"open_issues_count":1669,"forks":3621,"open_issues":1669,"watchers":9638,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/6004"},"html":{"href":"https://github.com/dmlc/mxnet/pull/6004"},"issue":{"href":"https://api.github.com/repos/dmlc/mxnet/issues/6004"},"comments":{"href":"https://api.github.com/repos/dmlc/mxnet/issues/6004/comments"},"review_comments":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/6004/comments"},"review_comment":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmlc/mxnet/pulls/6004/commits"},"statuses":{"href":"https://api.github.com/repos/dmlc/mxnet/statuses/3a7953ccadfa6af916bfa4b4e0a3365dfef0c1ee"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"piiswrong","id":568948,"avatar_url":"https://avatars3.githubusercontent.com/u/568948?v=3","gravatar_id":"","url":"https://api.github.com/users/piiswrong","html_url":"https://github.com/piiswrong","followers_url":"https://api.github.com/users/piiswrong/followers","following_url":"https://api.github.com/users/piiswrong/following{/other_user}","gists_url":"https://api.github.com/users/piiswrong/gists{/gist_id}","starred_url":"https://api.github.com/users/piiswrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piiswrong/subscriptions","organizations_url":"https://api.github.com/users/piiswrong/orgs","repos_url":"https://api.github.com/users/piiswrong/repos","events_url":"https://api.github.com/users/piiswrong/events{/privacy}","received_events_url":"https://api.github.com/users/piiswrong/received_events","type":"User","site_admin":false},"comments":11,"review_comments":2,"maintainer_can_modify":false,"commits":7,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"piiswrong"}}