Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caffe compilation failed #13

Open
sajjo79 opened this issue Jun 22, 2018 · 3 comments
Open

caffe compilation failed #13

sajjo79 opened this issue Jun 22, 2018 · 3 comments

Comments

@sajjo79
Copy link

sajjo79 commented Jun 22, 2018

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

@mezhou
Copy link

mezhou commented Sep 17, 2018

@sajjo79 Hello,I would like to ask you that have you built that caffe now? Thanks a lot.

@amoazeni75
Copy link

Hi,
I have the same issue. Did you solve it?

@amoazeni75
Copy link

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:

  1. 2to3 . -w Note that you might have to install a package to get 2to3
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants