{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/jbhuang0604/WSL/pulls/3","id":70196569,"html_url":"https://github.com/jbhuang0604/WSL/pull/3","diff_url":"https://github.com/jbhuang0604/WSL/pull/3.diff","patch_url":"https://github.com/jbhuang0604/WSL/pull/3.patch","issue_url":"https://api.github.com/repos/jbhuang0604/WSL/issues/3","number":3,"state":"open","locked":false,"title":"fix caffe reinitialization bug in mil stage after maskout stage","user":{"login":"ZiangYan","id":8786184,"avatar_url":"https://avatars.githubusercontent.com/u/8786184?v=3","gravatar_id":"","url":"https://api.github.com/users/ZiangYan","html_url":"https://github.com/ZiangYan","followers_url":"https://api.github.com/users/ZiangYan/followers","following_url":"https://api.github.com/users/ZiangYan/following{/other_user}","gists_url":"https://api.github.com/users/ZiangYan/gists{/gist_id}","starred_url":"https://api.github.com/users/ZiangYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZiangYan/subscriptions","organizations_url":"https://api.github.com/users/ZiangYan/orgs","repos_url":"https://api.github.com/users/ZiangYan/repos","events_url":"https://api.github.com/users/ZiangYan/events{/privacy}","received_events_url":"https://api.github.com/users/ZiangYan/received_events","type":"User","site_admin":false},"body":"There is a tiny but trick bug in [READMD.md](README.md), and could be fixed by this PR.\r\n\r\nIn [READMD.md](README.md), we perform mil stage right after maskout stage. We cache fc8 feature in maskout stage, and we cache fc7 feature in mil stage. Because matcaffe do NOT use object-oriented design, once we initialization a network via matcaffe, we actually use the **same** network in all `caffe('forward', data)` in matlab afterward. \r\n\r\nSo, if we don't reinitialize caffe after maskout stage, we will still cache **fc8** feature in `cache_fc7_features.m` called by `mil.m`, which is unpleasurable. \r\n\r\nInitialize matcaffe for multiple times is proved to be feasible after my several tests in several computers, and is pretty fast (~50ms).\r\n","created_at":"2016-05-16T13:31:09Z","updated_at":"2016-05-16T13:31:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jbhuang0604/WSL/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jbhuang0604/WSL/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jbhuang0604/WSL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbhuang0604/WSL/issues/3/comments","statuses_url":"https://api.github.com/repos/jbhuang0604/WSL/statuses/476dbf080d30b2bfaa24fd192eb6ce01e9b91622","head":{"label":"ZiangYan:master","ref":"master","sha":"476dbf080d30b2bfaa24fd192eb6ce01e9b91622","user":{"login":"ZiangYan","id":8786184,"avatar_url":"https://avatars.githubusercontent.com/u/8786184?v=3","gravatar_id":"","url":"https://api.github.com/users/ZiangYan","html_url":"https://github.com/ZiangYan","followers_url":"https://api.github.com/users/ZiangYan/followers","following_url":"https://api.github.com/users/ZiangYan/following{/other_user}","gists_url":"https://api.github.com/users/ZiangYan/gists{/gist_id}","starred_url":"https://api.github.com/users/ZiangYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZiangYan/subscriptions","organizations_url":"https://api.github.com/users/ZiangYan/orgs","repos_url":"https://api.github.com/users/ZiangYan/repos","events_url":"https://api.github.com/users/ZiangYan/events{/privacy}","received_events_url":"https://api.github.com/users/ZiangYan/received_events","type":"User","site_admin":false},"repo":{"id":58933105,"name":"WSL","full_name":"ZiangYan/WSL","owner":{"login":"ZiangYan","id":8786184,"avatar_url":"https://avatars.githubusercontent.com/u/8786184?v=3","gravatar_id":"","url":"https://api.github.com/users/ZiangYan","html_url":"https://github.com/ZiangYan","followers_url":"https://api.github.com/users/ZiangYan/followers","following_url":"https://api.github.com/users/ZiangYan/following{/other_user}","gists_url":"https://api.github.com/users/ZiangYan/gists{/gist_id}","starred_url":"https://api.github.com/users/ZiangYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZiangYan/subscriptions","organizations_url":"https://api.github.com/users/ZiangYan/orgs","repos_url":"https://api.github.com/users/ZiangYan/repos","events_url":"https://api.github.com/users/ZiangYan/events{/privacy}","received_events_url":"https://api.github.com/users/ZiangYan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZiangYan/WSL","description":"Weakly Supervised Object Localization with Progressive Domain Adaptation (CVPR 2016)","fork":true,"url":"https://api.github.com/repos/ZiangYan/WSL","forks_url":"https://api.github.com/repos/ZiangYan/WSL/forks","keys_url":"https://api.github.com/repos/ZiangYan/WSL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZiangYan/WSL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZiangYan/WSL/teams","hooks_url":"https://api.github.com/repos/ZiangYan/WSL/hooks","issue_events_url":"https://api.github.com/repos/ZiangYan/WSL/issues/events{/number}","events_url":"https://api.github.com/repos/ZiangYan/WSL/events","assignees_url":"https://api.github.com/repos/ZiangYan/WSL/assignees{/user}","branches_url":"https://api.github.com/repos/ZiangYan/WSL/branches{/branch}","tags_url":"https://api.github.com/repos/ZiangYan/WSL/tags","blobs_url":"https://api.github.com/repos/ZiangYan/WSL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZiangYan/WSL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZiangYan/WSL/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZiangYan/WSL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZiangYan/WSL/statuses/{sha}","languages_url":"https://api.github.com/repos/ZiangYan/WSL/languages","stargazers_url":"https://api.github.com/repos/ZiangYan/WSL/stargazers","contributors_url":"https://api.github.com/repos/ZiangYan/WSL/contributors","subscribers_url":"https://api.github.com/repos/ZiangYan/WSL/subscribers","subscription_url":"https://api.github.com/repos/ZiangYan/WSL/subscription","commits_url":"https://api.github.com/repos/ZiangYan/WSL/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZiangYan/WSL/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZiangYan/WSL/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZiangYan/WSL/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZiangYan/WSL/contents/{+path}","compare_url":"https://api.github.com/repos/ZiangYan/WSL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZiangYan/WSL/merges","archive_url":"https://api.github.com/repos/ZiangYan/WSL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZiangYan/WSL/downloads","issues_url":"https://api.github.com/repos/ZiangYan/WSL/issues{/number}","pulls_url":"https://api.github.com/repos/ZiangYan/WSL/pulls{/number}","milestones_url":"https://api.github.com/repos/ZiangYan/WSL/milestones{/number}","notifications_url":"https://api.github.com/repos/ZiangYan/WSL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZiangYan/WSL/labels{/name}","releases_url":"https://api.github.com/repos/ZiangYan/WSL/releases{/id}","deployments_url":"https://api.github.com/repos/ZiangYan/WSL/deployments","created_at":"2016-05-16T13:07:33Z","updated_at":"2016-05-16T13:07:36Z","pushed_at":"2016-05-16T13:08:52Z","git_url":"git://github.com/ZiangYan/WSL.git","ssh_url":"git@github.com:ZiangYan/WSL.git","clone_url":"https://github.com/ZiangYan/WSL.git","svn_url":"https://github.com/ZiangYan/WSL","homepage":null,"size":9771,"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":"wsl_v01"}},"base":{"label":"jbhuang0604:master","ref":"master","sha":"7b1527f042eb0ec3a20f27a656b45c72823f5a8f","user":{"login":"jbhuang0604","id":987204,"avatar_url":"https://avatars.githubusercontent.com/u/987204?v=3","gravatar_id":"","url":"https://api.github.com/users/jbhuang0604","html_url":"https://github.com/jbhuang0604","followers_url":"https://api.github.com/users/jbhuang0604/followers","following_url":"https://api.github.com/users/jbhuang0604/following{/other_user}","gists_url":"https://api.github.com/users/jbhuang0604/gists{/gist_id}","starred_url":"https://api.github.com/users/jbhuang0604/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbhuang0604/subscriptions","organizations_url":"https://api.github.com/users/jbhuang0604/orgs","repos_url":"https://api.github.com/users/jbhuang0604/repos","events_url":"https://api.github.com/users/jbhuang0604/events{/privacy}","received_events_url":"https://api.github.com/users/jbhuang0604/received_events","type":"User","site_admin":false},"repo":{"id":55816038,"name":"WSL","full_name":"jbhuang0604/WSL","owner":{"login":"jbhuang0604","id":987204,"avatar_url":"https://avatars.githubusercontent.com/u/987204?v=3","gravatar_id":"","url":"https://api.github.com/users/jbhuang0604","html_url":"https://github.com/jbhuang0604","followers_url":"https://api.github.com/users/jbhuang0604/followers","following_url":"https://api.github.com/users/jbhuang0604/following{/other_user}","gists_url":"https://api.github.com/users/jbhuang0604/gists{/gist_id}","starred_url":"https://api.github.com/users/jbhuang0604/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbhuang0604/subscriptions","organizations_url":"https://api.github.com/users/jbhuang0604/orgs","repos_url":"https://api.github.com/users/jbhuang0604/repos","events_url":"https://api.github.com/users/jbhuang0604/events{/privacy}","received_events_url":"https://api.github.com/users/jbhuang0604/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbhuang0604/WSL","description":"Weakly Supervised Object Localization with Progressive Domain Adaptation (CVPR 2016)","fork":false,"url":"https://api.github.com/repos/jbhuang0604/WSL","forks_url":"https://api.github.com/repos/jbhuang0604/WSL/forks","keys_url":"https://api.github.com/repos/jbhuang0604/WSL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbhuang0604/WSL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbhuang0604/WSL/teams","hooks_url":"https://api.github.com/repos/jbhuang0604/WSL/hooks","issue_events_url":"https://api.github.com/repos/jbhuang0604/WSL/issues/events{/number}","events_url":"https://api.github.com/repos/jbhuang0604/WSL/events","assignees_url":"https://api.github.com/repos/jbhuang0604/WSL/assignees{/user}","branches_url":"https://api.github.com/repos/jbhuang0604/WSL/branches{/branch}","tags_url":"https://api.github.com/repos/jbhuang0604/WSL/tags","blobs_url":"https://api.github.com/repos/jbhuang0604/WSL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbhuang0604/WSL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbhuang0604/WSL/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbhuang0604/WSL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbhuang0604/WSL/statuses/{sha}","languages_url":"https://api.github.com/repos/jbhuang0604/WSL/languages","stargazers_url":"https://api.github.com/repos/jbhuang0604/WSL/stargazers","contributors_url":"https://api.github.com/repos/jbhuang0604/WSL/contributors","subscribers_url":"https://api.github.com/repos/jbhuang0604/WSL/subscribers","subscription_url":"https://api.github.com/repos/jbhuang0604/WSL/subscription","commits_url":"https://api.github.com/repos/jbhuang0604/WSL/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbhuang0604/WSL/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbhuang0604/WSL/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbhuang0604/WSL/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbhuang0604/WSL/contents/{+path}","compare_url":"https://api.github.com/repos/jbhuang0604/WSL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbhuang0604/WSL/merges","archive_url":"https://api.github.com/repos/jbhuang0604/WSL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbhuang0604/WSL/downloads","issues_url":"https://api.github.com/repos/jbhuang0604/WSL/issues{/number}","pulls_url":"https://api.github.com/repos/jbhuang0604/WSL/pulls{/number}","milestones_url":"https://api.github.com/repos/jbhuang0604/WSL/milestones{/number}","notifications_url":"https://api.github.com/repos/jbhuang0604/WSL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbhuang0604/WSL/labels{/name}","releases_url":"https://api.github.com/repos/jbhuang0604/WSL/releases{/id}","deployments_url":"https://api.github.com/repos/jbhuang0604/WSL/deployments","created_at":"2016-04-08T23:39:06Z","updated_at":"2016-05-11T07:43:57Z","pushed_at":"2016-05-16T03:09:11Z","git_url":"git://github.com/jbhuang0604/WSL.git","ssh_url":"git@github.com:jbhuang0604/WSL.git","clone_url":"https://github.com/jbhuang0604/WSL.git","svn_url":"https://github.com/jbhuang0604/WSL","homepage":null,"size":9770,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":5,"default_branch":"wsl_v01"}},"_links":{"self":{"href":"https://api.github.com/repos/jbhuang0604/WSL/pulls/3"},"html":{"href":"https://github.com/jbhuang0604/WSL/pull/3"},"issue":{"href":"https://api.github.com/repos/jbhuang0604/WSL/issues/3"},"comments":{"href":"https://api.github.com/repos/jbhuang0604/WSL/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jbhuang0604/WSL/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jbhuang0604/WSL/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbhuang0604/WSL/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jbhuang0604/WSL/statuses/476dbf080d30b2bfaa24fd192eb6ce01e9b91622"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}