Python layer in Caffe can speed up development process Issue1703
Compile WITH_PYTHON_LAYER option
First, you have to build Caffe with
WITH_PYTHON_LAYER option . Run
make clean to delete all the compiled binaries. Then,
If you skip this, caffe will complain that layer factory function can’t find Python layer.
A gist from Evan Shelhamer summarizes the basics of the python layer.
You have to define a python layer that is defined in your $PYTHONPATH. In the prototxt, the
pyloss, which means that the file that contains the
EuclideanLossLayer should be named