Skip to content

Commit 982c9da

Browse files
committed
small fix for the c proposal layer
1 parent 3dfca3b commit 982c9da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/caffe/layers/proposal_layer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ProposalLayer : public Layer<Dtype> {
2929
virtual inline int ExactNumBottomBlobs() const { return 3; }
3030
//virtual inline int MinBottomBlobs() const { return 3; }
3131
//virtual inline int MaxBottomBlobs() const { return 3; }
32-
//irtual inline int ExactNumTopBlobs() const { return 1; }
32+
//virtual inline int ExactNumTopBlobs() const { return 1; }
3333
virtual inline int MinTopBlobs() const { return 1; } // output rois
3434
virtual inline int MaxTopBlobs() const { return 2; } // optional, output scores
3535

src/caffe/layers/proposal_layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ void ProposalLayer<Dtype>::_scale_enum(vector<float> anchors_ratio, vector<float
223223
ctrs_in.push_back(hs);
224224
ctrs_in.push_back(ctrs[2]);
225225
ctrs_in.push_back(ctrs[3]);
226-
_mkanchors(ctrs_in, anchor_boxes_);
226+
_mkanchors(ctrs_in, anchor_boxes);
227227
}
228228
}
229229
}

0 commit comments

Comments
 (0)