Skip to content

Commit

Permalink
Add fix to python layer rbgirshick/py-faster-rcnn#249
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Polzounov committed Oct 27, 2016
1 parent da29785 commit 1bbcb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/caffe/layers/python_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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("phase") = static_cast<int>(this->phase_);
self_.attr("setup")(bottom, top);
}
virtual void Reshape(const vector<Blob<Dtype>*>& bottom,
Expand Down

0 comments on commit 1bbcb06

Please sign in to comment.