I am trying to get python layers working on the windows version of Caffe on visual studio. I am using a CPU only solution with everything out of the box. My python layer is a dummy one for now:
import caffe
class custom_class(caffe.Layer):
def setup(self, bottom, top):
pass
I am using miniconda2 (2.7.14 python) as recommended by this caffe-windows repository.
I surfed the internet regarding the above issue and it seems like the issue is related to the layer registry not being shared across caffe (I saw someone recommending using dynamic boost to make sure the registry is shared, but their solution uses only cmake and I would like to use visual studio).
Maybe the above statement is due to my lack of understanding of caffe, as I am new to the code base.
Has anyone encountered this issue? Any hints on how to solve it would be appreciated.
Hello All,
I am trying to get python layers working on the windows version of Caffe on visual studio. I am using a CPU only solution with everything out of the box. My python layer is a dummy one for now:
import caffe
class custom_class(caffe.Layer): def setup(self, bottom, top): pass
I am using miniconda2 (2.7.14 python) as recommended by this caffe-windows repository.
I surfed the internet regarding the above issue and it seems like the issue is related to the layer registry not being shared across caffe (I saw someone recommending using dynamic boost to make sure the registry is shared, but their solution uses only cmake and I would like to use visual studio).
Maybe the above statement is due to my lack of understanding of caffe, as I am new to the code base.
Has anyone encountered this issue? Any hints on how to solve it would be appreciated.