{"action":"created","issue":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/328","repository_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn","labels_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/328/comments","events_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/328/events","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/328","id":174997077,"number":328,"title":"inaccurate tranform in bbox_transform_inv ","user":{"login":"yefanhust","id":9782883,"avatar_url":"https://avatars.githubusercontent.com/u/9782883?v=3","gravatar_id":"","url":"https://api.github.com/users/yefanhust","html_url":"https://github.com/yefanhust","followers_url":"https://api.github.com/users/yefanhust/followers","following_url":"https://api.github.com/users/yefanhust/following{/other_user}","gists_url":"https://api.github.com/users/yefanhust/gists{/gist_id}","starred_url":"https://api.github.com/users/yefanhust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yefanhust/subscriptions","organizations_url":"https://api.github.com/users/yefanhust/orgs","repos_url":"https://api.github.com/users/yefanhust/repos","events_url":"https://api.github.com/users/yefanhust/events{/privacy}","received_events_url":"https://api.github.com/users/yefanhust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-05T05:19:29Z","updated_at":"2016-10-11T14:01:39Z","closed_at":null,"body":"In py-faster-rcnn/lib/fast-rcnn/bbox_transform.py, there's a function called \"bbox_transform_inv\". It first converts the shifted anchor coordinates to width, height, center_x, and center_y. The \"ctr_x\" is computed as follows:\r\nctr_x = boxes[:,0] + 0.5*widths\r\n\r\nHowever, shouldn't ctr_x be computed as boxes[:,0] + 0.5* (widths-1)? This is how it defines in py-faster-rcnn/lib/rpn/generate_anchors.py. Please advise on this, thanks. "},"comment":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/comments/252925473","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/328#issuecomment-252925473","issue_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/328","id":252925473,"user":{"login":"yefanhust","id":9782883,"avatar_url":"https://avatars.githubusercontent.com/u/9782883?v=3","gravatar_id":"","url":"https://api.github.com/users/yefanhust","html_url":"https://github.com/yefanhust","followers_url":"https://api.github.com/users/yefanhust/followers","following_url":"https://api.github.com/users/yefanhust/following{/other_user}","gists_url":"https://api.github.com/users/yefanhust/gists{/gist_id}","starred_url":"https://api.github.com/users/yefanhust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yefanhust/subscriptions","organizations_url":"https://api.github.com/users/yefanhust/orgs","repos_url":"https://api.github.com/users/yefanhust/repos","events_url":"https://api.github.com/users/yefanhust/events{/privacy}","received_events_url":"https://api.github.com/users/yefanhust/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T14:01:39Z","updated_at":"2016-10-11T14:01:39Z","body":"There's simply an inconsistency in transforming the bounding box between (width, height, center_x, center_y) and (x1,y1,x2,y2). Clipping boxes to image boundaries may not fix this issue.  But this hardly has any negative effect on the final results. So hard to be sensed. "}}
{"actor":{"display_login":"yefanhust"}}