{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/4163","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/4163/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/4163/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/4163/events","html_url":"https://github.com/BVLC/caffe/pull/4163","id":155274985,"number":4163,"title":"Faster R-CNN (work from Ross Girshick)","user":{"login":"Austriker","id":5080705,"avatar_url":"https://avatars.githubusercontent.com/u/5080705?v=3","gravatar_id":"","url":"https://api.github.com/users/Austriker","html_url":"https://github.com/Austriker","followers_url":"https://api.github.com/users/Austriker/followers","following_url":"https://api.github.com/users/Austriker/following{/other_user}","gists_url":"https://api.github.com/users/Austriker/gists{/gist_id}","starred_url":"https://api.github.com/users/Austriker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Austriker/subscriptions","organizations_url":"https://api.github.com/users/Austriker/orgs","repos_url":"https://api.github.com/users/Austriker/repos","events_url":"https://api.github.com/users/Austriker/events{/privacy}","received_events_url":"https://api.github.com/users/Austriker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-17T14:32:16Z","updated_at":"2016-05-22T20:05:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/BVLC/caffe/pulls/4163","html_url":"https://github.com/BVLC/caffe/pull/4163","diff_url":"https://github.com/BVLC/caffe/pull/4163.diff","patch_url":"https://github.com/BVLC/caffe/pull/4163.patch"},"body":"Hi,\r\n\r\nI have been working on [py-faster-rcnn](https://github.com/rbgirshick/py-faster-rcnn). I would like to port the layers from the [fork](https://github.com/rbgirshick/caffe-fast-rcnn/tree/0dcd397b29507b8314e252e850518c5695efbb83) of caffe to avoid having to versions of caffe to maintain.\r\n\r\nI have created a [fork](https://github.com/Austriker/py-faster-rcnn) of py-faster-rcnn that adds support of python 3 and links to an updated caffe. There is still some work to be done.\r\n\r\nThe PR adds : \r\n - smooth l1 loss layer\r\n - roi pooling layer\r\n - ~~expose phase in pycaffe~~ (already implemented)\r\n - dropout scaling at test time (needed for MSRA-trained ZF network)\r\n\r\n~~I have ported all the code necessary used by the repo, but I am having issues with the tests phase~~\r\n\r\n~~Only one build fails in the build matrix~~\r\n```sh\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp: In member function ‘void caffe::SmoothL1LossLayerTest_TestGradient_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = double]’:\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:86:1:   instantiated from here\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:68:37: error: ‘caffe::SmoothL1LossLayerTest_TestGradient_Test<double>::TypeParam {aka double}’ is not a class, struct, or union type\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: ‘double’ is not a class, struct, or union type\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: ‘double’ is not a class, struct, or union type\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: ‘double’ is not a class, struct, or union type\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: ‘double’ is not a class, struct, or union type\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: ‘double’ is not a class, struct, or union type\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:78:26: error: ‘double’ is not a class, struct, or union type\r\nsrc/caffe/test/test_smooth_l1_loss_layer.cpp:76:28: error: ‘double’ is not a class, struct, or union type\r\n```\r\n\r\nThe CPU Forward and Backward are not implemented.\r\n\r\n~~I don't understand  why the test are failing. The work is almost complete if someone can give me a hand with this ! It would be much appreciated !~~"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/220853113","html_url":"https://github.com/BVLC/caffe/pull/4163#issuecomment-220853113","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/4163","id":220853113,"user":{"login":"bhack","id":1710528,"avatar_url":"https://avatars.githubusercontent.com/u/1710528?v=3","gravatar_id":"","url":"https://api.github.com/users/bhack","html_url":"https://github.com/bhack","followers_url":"https://api.github.com/users/bhack/followers","following_url":"https://api.github.com/users/bhack/following{/other_user}","gists_url":"https://api.github.com/users/bhack/gists{/gist_id}","starred_url":"https://api.github.com/users/bhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhack/subscriptions","organizations_url":"https://api.github.com/users/bhack/orgs","repos_url":"https://api.github.com/users/bhack/repos","events_url":"https://api.github.com/users/bhack/events{/privacy}","received_events_url":"https://api.github.com/users/bhack/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T20:05:49Z","updated_at":"2016-05-22T20:05:49Z","body":"http://chrischoy.github.io/research/caffe-python-layer/#fnref:1"}}
{"actor":{"display_login":"bhack"}}