{"action":"created","issue":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/1","repository_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn","labels_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/1/comments","events_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/1/events","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/1","id":110369860,"number":1,"title":"how to use py-faster-rcnn to do 4 classes training instead of 20 classes?","user":{"login":"kaishijeng","id":12689630,"avatar_url":"https://avatars.githubusercontent.com/u/12689630?v=3","gravatar_id":"","url":"https://api.github.com/users/kaishijeng","html_url":"https://github.com/kaishijeng","followers_url":"https://api.github.com/users/kaishijeng/followers","following_url":"https://api.github.com/users/kaishijeng/following{/other_user}","gists_url":"https://api.github.com/users/kaishijeng/gists{/gist_id}","starred_url":"https://api.github.com/users/kaishijeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaishijeng/subscriptions","organizations_url":"https://api.github.com/users/kaishijeng/orgs","repos_url":"https://api.github.com/users/kaishijeng/repos","events_url":"https://api.github.com/users/kaishijeng/events{/privacy}","received_events_url":"https://api.github.com/users/kaishijeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-10-08T04:10:13Z","updated_at":"2016-02-18T21:59:44Z","closed_at":null,"body":"I am able to use py-faster-rcnn to do training with voc-2007 dataset.\r\nHowever, I just need 4 classes, car, person, dog and cat instead of 20 classes in the default setting.\r\nWhat changes do I need to do for the above 4 classes training with voc-2007 data?\r\nWill 4 classes model reduce computation,  size of the trained model and improve accuracy?\r\n\r\nThanks,\r\nKaishi,\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/comments/185941268","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/1#issuecomment-185941268","issue_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/1","id":185941268,"user":{"login":"duygusar","id":4791974,"avatar_url":"https://avatars.githubusercontent.com/u/4791974?v=3","gravatar_id":"","url":"https://api.github.com/users/duygusar","html_url":"https://github.com/duygusar","followers_url":"https://api.github.com/users/duygusar/followers","following_url":"https://api.github.com/users/duygusar/following{/other_user}","gists_url":"https://api.github.com/users/duygusar/gists{/gist_id}","starred_url":"https://api.github.com/users/duygusar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duygusar/subscriptions","organizations_url":"https://api.github.com/users/duygusar/orgs","repos_url":"https://api.github.com/users/duygusar/repos","events_url":"https://api.github.com/users/duygusar/events{/privacy}","received_events_url":"https://api.github.com/users/duygusar/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T21:59:44Z","updated_at":"2016-02-18T21:59:44Z","body":"@wangdelp  I actually have used the Matlab version, well I think that part is similar to what I have done in VOCinit.m Instead of ('__background__', 'bottle', 'chair', 'diningtable', 'pottedplant', 'sofa', 'tvmonitor') I have only ('bottle', 'chair', 'diningtable', 'pottedplant', 'sofa', 'tvmonitor') without the background class (of course I related to your dataset) I am not sure how it goes with the Python implementation though. I remember a more detailed thread here so maybe you should check other open and closed issues."}}