{"action":"created","issue":{"url":"https://api.github.com/repos/endernewton/tf-faster-rcnn/issues/85","repository_url":"https://api.github.com/repos/endernewton/tf-faster-rcnn","labels_url":"https://api.github.com/repos/endernewton/tf-faster-rcnn/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/endernewton/tf-faster-rcnn/issues/85/comments","events_url":"https://api.github.com/repos/endernewton/tf-faster-rcnn/issues/85/events","html_url":"https://github.com/endernewton/tf-faster-rcnn/issues/85","id":227692679,"number":85,"title":"How to train Faster R-CNN on my own dataset?","user":{"login":"tp227","id":18034640,"avatar_url":"https://avatars2.githubusercontent.com/u/18034640?v=3","gravatar_id":"","url":"https://api.github.com/users/tp227","html_url":"https://github.com/tp227","followers_url":"https://api.github.com/users/tp227/followers","following_url":"https://api.github.com/users/tp227/following{/other_user}","gists_url":"https://api.github.com/users/tp227/gists{/gist_id}","starred_url":"https://api.github.com/users/tp227/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tp227/subscriptions","organizations_url":"https://api.github.com/users/tp227/orgs","repos_url":"https://api.github.com/users/tp227/repos","events_url":"https://api.github.com/users/tp227/events{/privacy}","received_events_url":"https://api.github.com/users/tp227/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-05-10T14:08:17Z","updated_at":"2017-05-24T05:10:31Z","closed_at":null,"body":"Hi,every:\r\nI want to train Faster R-CNN on my own dataset,and this dataset has only two classes. I do not know how to change the code.Could you give me a favor for the change details? Think you very much!"},"comment":{"url":"https://api.github.com/repos/endernewton/tf-faster-rcnn/issues/comments/303619319","html_url":"https://github.com/endernewton/tf-faster-rcnn/issues/85#issuecomment-303619319","issue_url":"https://api.github.com/repos/endernewton/tf-faster-rcnn/issues/85","id":303619319,"user":{"login":"kalaspuffar","id":1424084,"avatar_url":"https://avatars3.githubusercontent.com/u/1424084?v=3","gravatar_id":"","url":"https://api.github.com/users/kalaspuffar","html_url":"https://github.com/kalaspuffar","followers_url":"https://api.github.com/users/kalaspuffar/followers","following_url":"https://api.github.com/users/kalaspuffar/following{/other_user}","gists_url":"https://api.github.com/users/kalaspuffar/gists{/gist_id}","starred_url":"https://api.github.com/users/kalaspuffar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalaspuffar/subscriptions","organizations_url":"https://api.github.com/users/kalaspuffar/orgs","repos_url":"https://api.github.com/users/kalaspuffar/repos","events_url":"https://api.github.com/users/kalaspuffar/events{/privacy}","received_events_url":"https://api.github.com/users/kalaspuffar/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T05:10:31Z","updated_at":"2017-05-24T05:10:31Z","body":"@tp227 I've recently loaded and ran my own dataset.\r\n\r\nIn my case I changed the **_load_pascal_annotation** in **pascal_voc.py** model file in order to read a simple text format instead of the xml format because it is quite verbose.\r\n\r\nThe function will return boxes, gt_classes, gt_overlaps, seg_areas.\r\n\r\ngt_overlaps, seg_areas are calculated so the only thing you need to worry about is the boxes coordinates and classes. \r\n\r\nThe error you get above is in the data validation function which probably indicates that your data for training isn't correct. Maybe you have boxes that isn't inside of the image or they might be inverted to they don't have any area for instance if x1 > x2 a.s.o"}}
{"actor":{"display_login":"kalaspuffar"}}