{"action":"created","comment":{"url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/comments/185427776","pull_request_review_id":116812062,"id":185427776,"diff_hunk":"@@ -328,3 +329,19 @@ def generate_data_frame_chunks(meta, chunk_size):\n \n def categorize_image(image, channel_axis=0):\n     return np.argmax(image, axis=channel_axis)\n+\n+\n+def coco_evaluation(output, image_ids, data_dir, dataset, category_ids):","path":"utils.py","position":14,"original_position":14,"commit_id":"99b0d44cbd68261dde5f39793a6a4d8200e704de","original_commit_id":"99b0d44cbd68261dde5f39793a6a4d8200e704de","user":{"login":"taraspiotr","id":18441436,"avatar_url":"https://avatars3.githubusercontent.com/u/18441436?v=4","gravatar_id":"","url":"https://api.github.com/users/taraspiotr","html_url":"https://github.com/taraspiotr","followers_url":"https://api.github.com/users/taraspiotr/followers","following_url":"https://api.github.com/users/taraspiotr/following{/other_user}","gists_url":"https://api.github.com/users/taraspiotr/gists{/gist_id}","starred_url":"https://api.github.com/users/taraspiotr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taraspiotr/subscriptions","organizations_url":"https://api.github.com/users/taraspiotr/orgs","repos_url":"https://api.github.com/users/taraspiotr/repos","events_url":"https://api.github.com/users/taraspiotr/events{/privacy}","received_events_url":"https://api.github.com/users/taraspiotr/received_events","type":"User","site_admin":false},"body":"@jakubczakon I think dumping prediction to file and than passing two filepaths will be better, because COCO class can only use filepath to initialize.","created_at":"2018-05-02T08:41:16Z","updated_at":"2018-05-02T08:41:16Z","html_url":"https://github.com/minerva-ml/open-solution-mapping-challenge/pull/40#discussion_r185427776","pull_request_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/comments/185427776"},"html":{"href":"https://github.com/minerva-ml/open-solution-mapping-challenge/pull/40#discussion_r185427776"},"pull_request":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40"}},"in_reply_to_id":185418667},"pull_request":{"url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40","id":185359283,"html_url":"https://github.com/minerva-ml/open-solution-mapping-challenge/pull/40","diff_url":"https://github.com/minerva-ml/open-solution-mapping-challenge/pull/40.diff","patch_url":"https://github.com/minerva-ml/open-solution-mapping-challenge/pull/40.patch","issue_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/issues/40","number":40,"state":"open","locked":false,"title":"Dev evaluate in chunks","user":{"login":"taraspiotr","id":18441436,"avatar_url":"https://avatars3.githubusercontent.com/u/18441436?v=4","gravatar_id":"","url":"https://api.github.com/users/taraspiotr","html_url":"https://github.com/taraspiotr","followers_url":"https://api.github.com/users/taraspiotr/followers","following_url":"https://api.github.com/users/taraspiotr/following{/other_user}","gists_url":"https://api.github.com/users/taraspiotr/gists{/gist_id}","starred_url":"https://api.github.com/users/taraspiotr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taraspiotr/subscriptions","organizations_url":"https://api.github.com/users/taraspiotr/orgs","repos_url":"https://api.github.com/users/taraspiotr/repos","events_url":"https://api.github.com/users/taraspiotr/events{/privacy}","received_events_url":"https://api.github.com/users/taraspiotr/received_events","type":"User","site_admin":false},"body":"Added evaluate in chunks function which uses COCO's built in evaluation class.","created_at":"2018-05-02T07:46:38Z","updated_at":"2018-05-02T08:41:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fed9b1c22900cd6c5d33533f56361503570ff7c2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40/commits","review_comments_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40/comments","review_comment_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/issues/40/comments","statuses_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/statuses/99b0d44cbd68261dde5f39793a6a4d8200e704de","head":{"label":"taraspiotr:dev","ref":"dev","sha":"99b0d44cbd68261dde5f39793a6a4d8200e704de","user":{"login":"taraspiotr","id":18441436,"avatar_url":"https://avatars3.githubusercontent.com/u/18441436?v=4","gravatar_id":"","url":"https://api.github.com/users/taraspiotr","html_url":"https://github.com/taraspiotr","followers_url":"https://api.github.com/users/taraspiotr/followers","following_url":"https://api.github.com/users/taraspiotr/following{/other_user}","gists_url":"https://api.github.com/users/taraspiotr/gists{/gist_id}","starred_url":"https://api.github.com/users/taraspiotr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taraspiotr/subscriptions","organizations_url":"https://api.github.com/users/taraspiotr/orgs","repos_url":"https://api.github.com/users/taraspiotr/repos","events_url":"https://api.github.com/users/taraspiotr/events{/privacy}","received_events_url":"https://api.github.com/users/taraspiotr/received_events","type":"User","site_admin":false},"repo":{"id":131129791,"name":"open-solution-mapping-challenge","full_name":"taraspiotr/open-solution-mapping-challenge","owner":{"login":"taraspiotr","id":18441436,"avatar_url":"https://avatars3.githubusercontent.com/u/18441436?v=4","gravatar_id":"","url":"https://api.github.com/users/taraspiotr","html_url":"https://github.com/taraspiotr","followers_url":"https://api.github.com/users/taraspiotr/followers","following_url":"https://api.github.com/users/taraspiotr/following{/other_user}","gists_url":"https://api.github.com/users/taraspiotr/gists{/gist_id}","starred_url":"https://api.github.com/users/taraspiotr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taraspiotr/subscriptions","organizations_url":"https://api.github.com/users/taraspiotr/orgs","repos_url":"https://api.github.com/users/taraspiotr/repos","events_url":"https://api.github.com/users/taraspiotr/events{/privacy}","received_events_url":"https://api.github.com/users/taraspiotr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taraspiotr/open-solution-mapping-challenge","description":"Open solution to the Mapping Challenge","fork":true,"url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge","forks_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/forks","keys_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/teams","hooks_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/hooks","issue_events_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/events","assignees_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/tags","blobs_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/languages","stargazers_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/stargazers","contributors_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/contributors","subscribers_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/subscribers","subscription_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/subscription","commits_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/merges","archive_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/downloads","issues_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/labels{/name}","releases_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/taraspiotr/open-solution-mapping-challenge/deployments","created_at":"2018-04-26T09:08:12Z","updated_at":"2018-04-26T22:11:04Z","pushed_at":"2018-05-01T22:10:39Z","git_url":"git://github.com/taraspiotr/open-solution-mapping-challenge.git","ssh_url":"git@github.com:taraspiotr/open-solution-mapping-challenge.git","clone_url":"https://github.com/taraspiotr/open-solution-mapping-challenge.git","svn_url":"https://github.com/taraspiotr/open-solution-mapping-challenge","homepage":"https://www.crowdai.org/challenges/mapping-challenge","size":134,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"minerva-ml:dev","ref":"dev","sha":"4f00ee5694e7f14764be8c24e52384de3113147e","user":{"login":"minerva-ml","id":38758934,"avatar_url":"https://avatars3.githubusercontent.com/u/38758934?v=4","gravatar_id":"","url":"https://api.github.com/users/minerva-ml","html_url":"https://github.com/minerva-ml","followers_url":"https://api.github.com/users/minerva-ml/followers","following_url":"https://api.github.com/users/minerva-ml/following{/other_user}","gists_url":"https://api.github.com/users/minerva-ml/gists{/gist_id}","starred_url":"https://api.github.com/users/minerva-ml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minerva-ml/subscriptions","organizations_url":"https://api.github.com/users/minerva-ml/orgs","repos_url":"https://api.github.com/users/minerva-ml/repos","events_url":"https://api.github.com/users/minerva-ml/events{/privacy}","received_events_url":"https://api.github.com/users/minerva-ml/received_events","type":"Organization","site_admin":false},"repo":{"id":128981809,"name":"open-solution-mapping-challenge","full_name":"minerva-ml/open-solution-mapping-challenge","owner":{"login":"minerva-ml","id":38758934,"avatar_url":"https://avatars3.githubusercontent.com/u/38758934?v=4","gravatar_id":"","url":"https://api.github.com/users/minerva-ml","html_url":"https://github.com/minerva-ml","followers_url":"https://api.github.com/users/minerva-ml/followers","following_url":"https://api.github.com/users/minerva-ml/following{/other_user}","gists_url":"https://api.github.com/users/minerva-ml/gists{/gist_id}","starred_url":"https://api.github.com/users/minerva-ml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minerva-ml/subscriptions","organizations_url":"https://api.github.com/users/minerva-ml/orgs","repos_url":"https://api.github.com/users/minerva-ml/repos","events_url":"https://api.github.com/users/minerva-ml/events{/privacy}","received_events_url":"https://api.github.com/users/minerva-ml/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minerva-ml/open-solution-mapping-challenge","description":"Open solution to the Mapping Challenge","fork":false,"url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge","forks_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/forks","keys_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/teams","hooks_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/hooks","issue_events_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/events","assignees_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/tags","blobs_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/languages","stargazers_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/stargazers","contributors_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/contributors","subscribers_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/subscribers","subscription_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/subscription","commits_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/merges","archive_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/downloads","issues_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/labels{/name}","releases_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/deployments","created_at":"2018-04-10T18:59:51Z","updated_at":"2018-04-29T10:07:17Z","pushed_at":"2018-05-02T07:46:39Z","git_url":"git://github.com/minerva-ml/open-solution-mapping-challenge.git","ssh_url":"git@github.com:minerva-ml/open-solution-mapping-challenge.git","clone_url":"https://github.com/minerva-ml/open-solution-mapping-challenge.git","svn_url":"https://github.com/minerva-ml/open-solution-mapping-challenge","homepage":"https://www.crowdai.org/challenges/mapping-challenge","size":97,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":3,"open_issues":19,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40"},"html":{"href":"https://github.com/minerva-ml/open-solution-mapping-challenge/pull/40"},"issue":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/issues/40"},"comments":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/minerva-ml/open-solution-mapping-challenge/statuses/99b0d44cbd68261dde5f39793a6a4d8200e704de"}},"author_association":"NONE"}}
{"actor":{"display_login":"taraspiotr"}}