Skip to content

Commit

Permalink
Patched python_layer.hpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
dacox committed May 10, 2017
1 parent 8aabb9d commit 0f78ce0
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 0f78ce0

Please sign in to comment.