From 1bbcb0605fe67525a8493fb477d30119893a0978 Mon Sep 17 00:00:00 2001 From: Andrei Polzounov Date: Thu, 27 Oct 2016 12:43:00 +0800 Subject: [PATCH] Add fix to python layer https://github.com/rbgirshick/py-faster-rcnn/issues/249 --- include/caffe/layers/python_layer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/caffe/layers/python_layer.hpp b/include/caffe/layers/python_layer.hpp index 66dbbdf13b8..9a420f12c70 100644 --- a/include/caffe/layers/python_layer.hpp +++ b/include/caffe/layers/python_layer.hpp @@ -26,7 +26,7 @@ class PythonLayer : public Layer { } self_.attr("param_str") = bp::str( this->layer_param_.python_param().param_str()); - self_.attr("phase") = static_cast(this->phase_); +// self_.attr("phase") = static_cast(this->phase_); self_.attr("setup")(bottom, top); } virtual void Reshape(const vector*>& bottom,