Skip to content

Commit

Permalink
Comment out as suggested by github
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksnape committed Jul 20, 2016
1 parent 42cd785 commit 60ed504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/caffe/layers/python_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ 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_);
// Removed as suggested here: https://github.com/rbgirshick/py-faster-rcnn/issues/237#issuecomment-230651540
// 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 60ed504

Please sign in to comment.