{"action":"created","issue":{"url":"https://api.github.com/repos/daijifeng001/R-FCN/issues/9","repository_url":"https://api.github.com/repos/daijifeng001/R-FCN","labels_url":"https://api.github.com/repos/daijifeng001/R-FCN/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/daijifeng001/R-FCN/issues/9/comments","events_url":"https://api.github.com/repos/daijifeng001/R-FCN/issues/9/events","html_url":"https://github.com/daijifeng001/R-FCN/issues/9","id":166735619,"number":9,"title":"implement R-FCN with py-faster-rcnn","user":{"login":"argman","id":15120999,"avatar_url":"https://avatars.githubusercontent.com/u/15120999?v=3","gravatar_id":"","url":"https://api.github.com/users/argman","html_url":"https://github.com/argman","followers_url":"https://api.github.com/users/argman/followers","following_url":"https://api.github.com/users/argman/following{/other_user}","gists_url":"https://api.github.com/users/argman/gists{/gist_id}","starred_url":"https://api.github.com/users/argman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argman/subscriptions","organizations_url":"https://api.github.com/users/argman/orgs","repos_url":"https://api.github.com/users/argman/repos","events_url":"https://api.github.com/users/argman/events{/privacy}","received_events_url":"https://api.github.com/users/argman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2016-07-21T04:35:39Z","updated_at":"2016-08-24T02:23:52Z","closed_at":null,"body":"Hi, I'm trying to implement R-FCN in py-faster-rcnn, but encounter serval issues, \r\nI make these changes with py-faster-rcnn:\r\n1. As smoothL1Loss in R-FCN is different with py-faster-rcnn, so i set the py-faster-rcnn loss as a new type of loss.\r\n2. move PSROIPooling and BoxAnnotatorOHEM to py-faster-rcnn\r\nAnd changes with R-FCN:\r\n1. change rfcn_bbox output channel to 4\\*21\\*49=4116 since fasterrcnn use a class specific bbox regresison\r\n\r\nNow I am able to re-compie caffe and train rpn net, but when traing fast-rcnn, I got a bug:\r\n\r\nI0721 12:24:04.370088 12785 layer_factory.hpp:77] Creating layer per_roi_loss_cls\r\nI0721 12:24:04.370101 12785 net.cpp:106] Creating Layer per_roi_loss_cls\r\nI0721 12:24:04.370105 12785 net.cpp:454] per_roi_loss_cls <- cls_score_ave_cls_score_rois_0_split_0\r\nI0721 12:24:04.370110 12785 net.cpp:454] per_roi_loss_cls <- labels_data_2_split_0\r\nI0721 12:24:04.370113 12785 net.cpp:411] per_roi_loss_cls -> temp_loss_cls\r\nI0721 12:24:04.370120 12785 net.cpp:411] per_roi_loss_cls -> temp_prob_cls\r\nI0721 12:24:04.370124 12785 net.cpp:411] per_roi_loss_cls -> per_roi_loss_cls\r\nI0721 12:24:04.370139 12785 layer_factory.hpp:77] Creating layer per_roi_loss_cls\r\nI0721 12:24:04.370525 12785 net.cpp:150] Setting up per_roi_loss_cls\r\nI0721 12:24:04.370537 12785 net.cpp:157] Top shape: (1)\r\nI0721 12:24:04.370553 12785 net.cpp:157] Top shape: 1 21 1 1 (21)\r\nI0721 12:24:04.370556 12785 net.cpp:157] Top shape: 1 (1)\r\nI0721 12:24:04.370559 12785 net.cpp:165] Memory required for data: 678497932\r\nI0721 12:24:04.370563 12785 layer_factory.hpp:77] Creating layer per_roi_loss_bbox\r\nI0721 12:24:04.370575 12785 net.cpp:106] Creating Layer per_roi_loss_bbox\r\nI0721 12:24:04.370579 12785 net.cpp:454] per_roi_loss_bbox <- bbox_pred_ave_bbox_pred_rois_0_split_0\r\nI0721 12:24:04.370584 12785 net.cpp:454] per_roi_loss_bbox <- bbox_targets_data_3_split_0\r\nI0721 12:24:04.370589 12785 net.cpp:454] per_roi_loss_bbox <- bbox_inside_weights_data_4_split_0\r\nI0721 12:24:04.370595 12785 net.cpp:411] per_roi_loss_bbox -> temp_loss_bbox\r\nI0721 12:24:04.370601 12785 net.cpp:411] per_roi_loss_bbox -> per_roi_loss_bbox\r\nI0721 12:24:04.370652 12785 net.cpp:150] Setting up per_roi_loss_bbox\r\nI0721 12:24:04.370658 12785 net.cpp:157] Top shape: (1)\r\nI0721 12:24:04.370662 12785 net.cpp:157] Top shape: 1 1 1 1 (1)\r\nI0721 12:24:04.370664 12785 net.cpp:165] Memory required for data: 678497940\r\nI0721 12:24:04.370667 12785 layer_factory.hpp:77] Creating layer per_roi_loss\r\nI0721 12:24:04.370679 12785 net.cpp:106] Creating Layer per_roi_loss\r\nI0721 12:24:04.370682 12785 net.cpp:454] per_roi_loss <- per_roi_loss_cls\r\nI0721 12:24:04.370688 12785 net.cpp:454] per_roi_loss <- per_roi_loss_bbox\r\nI0721 12:24:04.370692 12785 net.cpp:411] per_roi_loss -> per_roi_loss\r\nF0721 12:24:04.370698 12785 eltwise_layer.cpp:34] Check failed: bottom[i]->shape() == bottom[0]->shape() 1\t0\t0\t0\r\n*** Check failure stack trace: ***\r\n\r\n\r\nthanks for you help!"},"comment":{"url":"https://api.github.com/repos/daijifeng001/R-FCN/issues/comments/241939779","html_url":"https://github.com/daijifeng001/R-FCN/issues/9#issuecomment-241939779","issue_url":"https://api.github.com/repos/daijifeng001/R-FCN/issues/9","id":241939779,"user":{"login":"argman","id":15120999,"avatar_url":"https://avatars.githubusercontent.com/u/15120999?v=3","gravatar_id":"","url":"https://api.github.com/users/argman","html_url":"https://github.com/argman","followers_url":"https://api.github.com/users/argman/followers","following_url":"https://api.github.com/users/argman/following{/other_user}","gists_url":"https://api.github.com/users/argman/gists{/gist_id}","starred_url":"https://api.github.com/users/argman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argman/subscriptions","organizations_url":"https://api.github.com/users/argman/orgs","repos_url":"https://api.github.com/users/argman/repos","events_url":"https://api.github.com/users/argman/events{/privacy}","received_events_url":"https://api.github.com/users/argman/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T02:23:52Z","updated_at":"2016-08-24T02:23:52Z","body":"@duanLH ,yes, both 4 stage training and end2end works, but i cannot reproduce the mAP in the paper."}}
{"actor":{"display_login":"argman"}}