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

redeclaration of BlobToGrayImage #6

Open
qianwangn opened this issue Jun 14, 2018 · 9 comments
Open

redeclaration of BlobToGrayImage #6

qianwangn opened this issue Jun 14, 2018 · 9 comments

Comments

@qianwangn
Copy link

src/caffe/util/util_img.cpp:709:33: error: redeclaration of ‘template cv::Mat caffe::BlobToGrayImage

@xjoshramos
Copy link

I am getting the same error....

@xjoshramos
Copy link

#4

@xjoshramos
Copy link

using crl caffe, you can run test code. There are no errors when compiling crl caffe. That caffe is the disp / flow net caffe. However, I think the img_util.cpp file is for training? The github link for crl is pasted below.

https://github.com/Artifineuro/crl.git

@qianwangn
Copy link
Author

@xjoshramos always got segmentation fault,by crl caffe

@yanqi1811
Copy link

@johnlanbor how can i solve this error? I am getting the same error... thank you!

@lawy623
Copy link
Owner

lawy623 commented Jul 3, 2018

I have no problem building this caffe. I think this may be the problem from opencv. I used opencv 2.4.8 and I can run through the building successfully.

@ivlydp
Copy link

ivlydp commented Sep 5, 2018

@lawy623 May I know your compiled environment ? It may help us solve this problem. Thank you~

@junfengcao
Copy link

I am getting the same error too, have you compiled successfully ? @ivlydp

@RichardYao1995
Copy link

I solve this problem by delete the value given to scale in the definition which shows like
const Dtype scale = Dtype(1.0)
just change it into
const Dtype scale
in this function, you need to comment a line
v1 *= scale;
that will be ok

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

7 participants