Skip to content

Commit

Permalink
Fix compilation errors with rebased patchset
Browse files Browse the repository at this point in the history
This patch fixes compilation errors from rebasing the faster-rcnn patchset from
rbgirshick/caffe-fast-rcnn:faster-rcnn on BVLC/caffe:master (#c430690).
  • Loading branch information
acmiyaguchi committed Nov 13, 2017
1 parent 5e239c4 commit d58e959
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/caffe/fast_rcnn_layers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/layer.hpp"
#include "caffe/loss_layers.hpp"
#include "caffe/layers/loss_layer.hpp"
#include "caffe/proto/caffe.pb.h"

namespace caffe {
Expand Down
1 change: 1 addition & 0 deletions include/caffe/layers/dropout_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class DropoutLayer : public NeuronLayer<Dtype> {
/// the scale for undropped inputs at train time @f$ 1 / (1 - p) @f$
Dtype scale_;
unsigned int uint_thres_;
Dtype scale_train_;
};

} // namespace caffe
Expand Down
1 change: 0 additions & 1 deletion include/caffe/layers/python_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class PythonLayer : public Layer<Dtype> {
}
self_.attr("param_str") = bp::str(
this->layer_param_.python_param().param_str());
self_.attr("phase") = static_cast<int>(this->phase_);
self_.attr("setup")(bottom, top);
}
virtual void Reshape(const vector<Blob<Dtype>*>& bottom,
Expand Down

1 comment on commit d58e959

@chang0977
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot find such files like python_layer.hpp, dropout_layer.hpp and fast_rcnn_layer.hpp in that directory.

Please sign in to comment.