Closed NHZlX closed 6 years ago
I agree with you, @NHZlX
This help me. Training on another dataset, this will works wrong. Thank you.
why should it be self.rfcn_bbox = Conv2d(1024, 778,1,1,bn=False), and not Conv2d(1024, 774,1,1,bn=False) as clarified in the paper
@yangwf1 in this implement, first 4 channels(0 to 3) are set for "background bbox prediction" even it is no used in training (see variable rpn_bbox_inside_weights , it is to mask bg background boxes), because there is no boxes target for bg, it seems useless in bbox training. And following 4-7 channels are for fg boxes regression.
btw, My R-FCN.pytorch has released for R-FCN and CoupleNet implement, welcome staring :)
I didn't run your code, but I have read the source code and found that
self.rfcn_score = Conv2d(1024,7*7*8, 1,1, bn=False) self.rfcn_bbox = Conv2d(1024, 7*7*self.n_classes,1,1,bn=False)
Shouldn't it be
self.rfcn_score = Conv2d(1024,7*7*self.n_class, 1,1, bn=False) self.rfcn_bbox = Conv2d(1024, 7*7*8,1,1,bn=False)
?