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

I have a question of installing AffordanceNet with docker #26

Open
kape67 opened this issue May 30, 2018 · 1 comment
Open

I have a question of installing AffordanceNet with docker #26

kape67 opened this issue May 30, 2018 · 1 comment

Comments

@kape67
Copy link

kape67 commented May 30, 2018

Hi.

I want to use AffordanceNet using docker.

I downloaded docker-caffe and did git clone AffordanceNet.

Docker-caffe have been installed caffe, so I did not anything. ( Make, build and so on )

And cd AffordanceNet/caffe-affordance-net and edit Makefile.config.

uncomment
USE_CUDNN := 1
WITH_PYTHON_LAYER := 1

but I got this error

./include/caffe/util/cudnn.hpp: In function 'void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)':
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function 'cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)'
pad_h, pad_w, stride_h, stride_w));
^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro 'CUDNN_CHECK'
cudnnStatus_t status = condition;
^

Can you help me?

I don't know why it had the error.

I did cudnn v5.1, cudnn v6, not use cudnn, but I got the same error.

I use CUDA 8.0.

Thank you.

@nqanh
Copy link
Owner

nqanh commented May 30, 2018

Hi, AffordanceNet code includes some custom layers for Caffe. If you use the original Caffe that comes with Docker, you don't have these layers. Therefore, it would be more convenient if you can build everything from source as in the Readme 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

2 participants