autocolorize
autocolorize copied to clipboard
caffe compilation failed
Hi, I am trying to compile caffe by including your layers, however i get following error message src/caffe/layers/extended_image_data_layer.cpp:39:21: fatal error: maskApi.h: No such file or directory
@sajjo79 Hello,I would like to ask you that have you built that caffe now? Thanks a lot.
Hi, I have the same issue. Did you solve it?
Hi,
I found out how to solve this issue.
First, you need to clone the cocoapi to your python directory; for example, /lib/python3.5/site-packages/
git clone https://github.com/cocodataset/cocoapi.git
Then cd into cocoapi/PyhtonAPI and run these commands:
-
2to3 . -w
Note that you might have to install a package to get 2to3 - python3 setup.py install
After installing it, add this line to your Makefile.config:
lib/python3.5/site-packages/cocoapi/common
this directory includes the maskApi.h file