{"action":"created","issue":{"url":"https://api.github.com/repos/ultralytics/yolov3/issues/7","repository_url":"https://api.github.com/repos/ultralytics/yolov3","labels_url":"https://api.github.com/repos/ultralytics/yolov3/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ultralytics/yolov3/issues/7/comments","events_url":"https://api.github.com/repos/ultralytics/yolov3/issues/7/events","html_url":"https://github.com/ultralytics/yolov3/issues/7","id":357486222,"node_id":"MDU6SXNzdWUzNTc0ODYyMjI=","number":7,"title":"mAP computation is incorrect","user":{"login":"xyutao","id":42927482,"node_id":"MDQ6VXNlcjQyOTI3NDgy","avatar_url":"https://avatars1.githubusercontent.com/u/42927482?v=4","gravatar_id":"","url":"https://api.github.com/users/xyutao","html_url":"https://github.com/xyutao","followers_url":"https://api.github.com/users/xyutao/followers","following_url":"https://api.github.com/users/xyutao/following{/other_user}","gists_url":"https://api.github.com/users/xyutao/gists{/gist_id}","starred_url":"https://api.github.com/users/xyutao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xyutao/subscriptions","organizations_url":"https://api.github.com/users/xyutao/orgs","repos_url":"https://api.github.com/users/xyutao/repos","events_url":"https://api.github.com/users/xyutao/events{/privacy}","received_events_url":"https://api.github.com/users/xyutao/received_events","type":"User","site_admin":false},"labels":[{"id":1035696370,"node_id":"MDU6TGFiZWwxMDM1Njk2Mzcw","url":"https://api.github.com/repos/ultralytics/yolov3/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1035696373,"node_id":"MDU6TGFiZWwxMDM1Njk2Mzcz","url":"https://api.github.com/repos/ultralytics/yolov3/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"state":"open","locked":false,"assignee":{"login":"glenn-jocher","id":26833433,"node_id":"MDQ6VXNlcjI2ODMzNDMz","avatar_url":"https://avatars3.githubusercontent.com/u/26833433?v=4","gravatar_id":"","url":"https://api.github.com/users/glenn-jocher","html_url":"https://github.com/glenn-jocher","followers_url":"https://api.github.com/users/glenn-jocher/followers","following_url":"https://api.github.com/users/glenn-jocher/following{/other_user}","gists_url":"https://api.github.com/users/glenn-jocher/gists{/gist_id}","starred_url":"https://api.github.com/users/glenn-jocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenn-jocher/subscriptions","organizations_url":"https://api.github.com/users/glenn-jocher/orgs","repos_url":"https://api.github.com/users/glenn-jocher/repos","events_url":"https://api.github.com/users/glenn-jocher/events{/privacy}","received_events_url":"https://api.github.com/users/glenn-jocher/received_events","type":"User","site_admin":false},"assignees":[{"login":"glenn-jocher","id":26833433,"node_id":"MDQ6VXNlcjI2ODMzNDMz","avatar_url":"https://avatars3.githubusercontent.com/u/26833433?v=4","gravatar_id":"","url":"https://api.github.com/users/glenn-jocher","html_url":"https://github.com/glenn-jocher","followers_url":"https://api.github.com/users/glenn-jocher/followers","following_url":"https://api.github.com/users/glenn-jocher/following{/other_user}","gists_url":"https://api.github.com/users/glenn-jocher/gists{/gist_id}","starred_url":"https://api.github.com/users/glenn-jocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenn-jocher/subscriptions","organizations_url":"https://api.github.com/users/glenn-jocher/orgs","repos_url":"https://api.github.com/users/glenn-jocher/repos","events_url":"https://api.github.com/users/glenn-jocher/events{/privacy}","received_events_url":"https://api.github.com/users/glenn-jocher/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2018-09-06T03:47:54Z","updated_at":"2019-03-14T07:23:24Z","closed_at":null,"author_association":"NONE","body":"The mAP computation code is similar as https://github.com/eriklindernoren/PyTorch-YOLOv3/blob/959e0ff43f5b82bdacef87f4240bae8415eac45b/test.py#L69\r\n\r\nIt is incorrect to average the AP for each sample, because AP is computed per-class. The right way is to rank all detected instances across the whole test set for each object class, compute AP for each class, and then average the AP."},"comment":{"url":"https://api.github.com/repos/ultralytics/yolov3/issues/comments/472733186","html_url":"https://github.com/ultralytics/yolov3/issues/7#issuecomment-472733186","issue_url":"https://api.github.com/repos/ultralytics/yolov3/issues/7","id":472733186,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MjczMzE4Ng==","user":{"login":"guagen","id":34730469,"node_id":"MDQ6VXNlcjM0NzMwNDY5","avatar_url":"https://avatars1.githubusercontent.com/u/34730469?v=4","gravatar_id":"","url":"https://api.github.com/users/guagen","html_url":"https://github.com/guagen","followers_url":"https://api.github.com/users/guagen/followers","following_url":"https://api.github.com/users/guagen/following{/other_user}","gists_url":"https://api.github.com/users/guagen/gists{/gist_id}","starred_url":"https://api.github.com/users/guagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guagen/subscriptions","organizations_url":"https://api.github.com/users/guagen/orgs","repos_url":"https://api.github.com/users/guagen/repos","events_url":"https://api.github.com/users/guagen/events{/privacy}","received_events_url":"https://api.github.com/users/guagen/received_events","type":"User","site_admin":false},"created_at":"2019-03-14T07:23:24Z","updated_at":"2019-03-14T07:23:24Z","author_association":"NONE","body":"@xyutao 好吧，头疼，看了这个代码的作者写错代码了，而且按照他的这种写法，得出的map不等于每一类的单独ap加到一起再除以类别总数"}}
{"actor":{"display_login":"guagen"}}