{"action":"created","issue":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/199","repository_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn","labels_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/199/comments","events_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/199/events","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/199","id":156056329,"number":199,"title":"Training Faster RCNN","user":{"login":"slchiang","id":16582204,"avatar_url":"https://avatars.githubusercontent.com/u/16582204?v=3","gravatar_id":"","url":"https://api.github.com/users/slchiang","html_url":"https://github.com/slchiang","followers_url":"https://api.github.com/users/slchiang/followers","following_url":"https://api.github.com/users/slchiang/following{/other_user}","gists_url":"https://api.github.com/users/slchiang/gists{/gist_id}","starred_url":"https://api.github.com/users/slchiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slchiang/subscriptions","organizations_url":"https://api.github.com/users/slchiang/orgs","repos_url":"https://api.github.com/users/slchiang/repos","events_url":"https://api.github.com/users/slchiang/events{/privacy}","received_events_url":"https://api.github.com/users/slchiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-20T21:41:02Z","updated_at":"2016-06-08T03:08:11Z","closed_at":null,"body":"Hi,\r\n\r\nI would like to learn how to train this net. I download  `VOCdevkit2007` to the path as shown on guide.\r\nI used the original prototxt files as below in python:\r\n\r\n```\r\ncaffe_model = os.path.join(FRCNN_ROOT, 'data/faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel')\r\nsolver_path = os.path.join(FRCNN_ROOT, 'models/pascal_voc/ZF/faster_rcnn_end2end/solver.prototxt')\r\nsolver = caffe.SGDSolver(solver_path)\r\nsolver.solve()\r\n```\r\n\r\nAnd I got error:\r\n```\r\nI0519 22:47:34.114130 16254 net.cpp:454] rpn_loss_cls <- rpn_labels\r\nI0519 22:47:34.114147 16254 net.cpp:411] rpn_loss_cls -> rpn_cls_loss\r\nI0519 22:47:34.114174 16254 layer_factory.hpp:77] Creating layer rpn_loss_cls\r\nF0519 22:47:34.115299 16254 loss_layer.cpp:19] Check failed: bottom[0]->num() == bottom[1]->num() (2 vs. 1) The data and label should have the same number.\r\n*** Check failure stack trace: ***\r\n```\r\n\r\nI did't change any code yet. How should I fix it?\r\nAny suggestion is appreciated\r\n\r\nThanks.\r\nSony\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/comments/224475866","html_url":"https://github.com/rbgirshick/py-faster-rcnn/issues/199#issuecomment-224475866","issue_url":"https://api.github.com/repos/rbgirshick/py-faster-rcnn/issues/199","id":224475866,"user":{"login":"ricepot100","id":3395854,"avatar_url":"https://avatars.githubusercontent.com/u/3395854?v=3","gravatar_id":"","url":"https://api.github.com/users/ricepot100","html_url":"https://github.com/ricepot100","followers_url":"https://api.github.com/users/ricepot100/followers","following_url":"https://api.github.com/users/ricepot100/following{/other_user}","gists_url":"https://api.github.com/users/ricepot100/gists{/gist_id}","starred_url":"https://api.github.com/users/ricepot100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricepot100/subscriptions","organizations_url":"https://api.github.com/users/ricepot100/orgs","repos_url":"https://api.github.com/users/ricepot100/repos","events_url":"https://api.github.com/users/ricepot100/events{/privacy}","received_events_url":"https://api.github.com/users/ricepot100/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T03:08:11Z","updated_at":"2016-06-08T03:08:11Z","body":"You have double chip GPU? If not, I guess maybe: \r\n./experiments/scripts/faster_rcnn_end2end.sh  0 ZF pascal_voc\r\nIn my platform: ubuntu 14.04, NV-980TI-6GDDR, I train the ZF with following command, it could success: \r\n./experiments/scripts/faster_rcnn_alt_opt.sh 0 ZF pascal_voc"}}
{"actor":{"display_login":"ricepot100"}}