Skip to content

Commit 75fe2ac

Browse files
committed
remove unused parameter height and weight
1 parent 421eace commit 75fe2ac

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/caffe/layers/maskrcnn_proposal_layer.cpp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,9 @@ void MaskRCNNProposalLayer<Dtype>::LayerSetUp(
1515
CHECK_EQ(bottom.size(), 3) << "Only input 3 Tensors at a time!";
1616
CHECK_EQ(top.size(), 1) << "Only output one Tensor at a time!";
1717

18-
int height = 1024;
19-
if (this->layer_param_.maskrcnn_proposal_param().height() != NULL) {
20-
height = this->layer_param_.maskrcnn_proposal_param().height();
21-
}
22-
23-
int width = 1024;
24-
if (this->layer_param_.maskrcnn_proposal_param().width() != NULL) {
25-
width = this->layer_param_.maskrcnn_proposal_param().width();
26-
}
18+
// int height = this->layer_param_.maskrcnn_proposal_param().height();
19+
// int width = this->layer_param_.maskrcnn_proposal_param().width();
20+
2721

2822
rpn_bbox_std_dev.clear();
2923
std::copy(

0 commit comments

Comments
 (0)