Open qianwangn opened 6 years ago
I am getting the same error....
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.
@xjoshramos always got segmentation fault,by crl caffe
@johnlanbor how can i solve this error? I am getting the same error... thank you!
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.
@lawy623 May I know your compiled environment ? It may help us solve this problem. Thank you~
I am getting the same error too, have you compiled successfully ? @ivlydp
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
src/caffe/util/util_img.cpp:709:33: error: redeclaration of ‘template cv::Mat caffe::BlobToGrayImage