densecrf icon indicating copy to clipboard operation
densecrf copied to clipboard

Compilation problem

Open amlarraz opened this issue 8 years ago • 4 comments

Hi! First of all, thanks for your work! I have an issue when run make:

In file included from test_densecrf/simple_dense_inference.cpp:31:0: test_densecrf/../libDenseCRF/densecrf.h:116:23: warning: unused parameter ‘o’ [-Wunused-parameter] DenseCRF(DenseCRF & o) {} ^ In file included from test_densecrf/simple_dense_inference.cpp:31:0: test_densecrf/../libDenseCRF/densecrf.h:191:41: warning: unused parameter ‘o’ [-Wunused-parameter] BipartiteDenseCRF(BipartiteDenseCRF & o){} ^ test_densecrf/../libDenseCRF/densecrf.h:234:25: warning: unused parameter ‘filter’ [-Wunused-parameter] Filter( const Filter& filter ){} ^ In file included from test_densecrf/../libDenseCRF/util.h:31:0, from test_densecrf/simple_dense_inference.cpp:32: test_densecrf/../libDenseCRF/permutohedral.h: In member function ‘void HashTable::grow()’: test_densecrf/../libDenseCRF/permutohedral.h:83:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i=0; i<old_capacity; i++ ) ^ make[1]: se sale del directorio '~/densecrf' make prog_refine_pascal_nat make[1]: se entra en el directorio '~/densecrf' g++ -w refine_pascal_nat/dense_inference.cpp -o prog_refine_pascal_nat -W -Wall -O2 -L. -lDenseCRF -lmatio -lhdf5 -fopenmp -lpthread -I./util/ make[1]: se sale del directorio '~/densecrf'

Sorry, I have the OS in spanish...do you know how I can fiix this? Thanks in advance!

amlarraz avatar Feb 21 '17 20:02 amlarraz

Hello. What exactly is the problem? I don't see any errors in your output, they are all warnings.

psycharo-zz avatar Feb 22 '17 12:02 psycharo-zz

Then...the compilation is ok? This is the normal output? I think something is wrong because when I try to use densecrf with the script run_densecrf.sh in deeplabv2 code(you can see the script here), gives me an error: Segmentation fault (core dumped)

amlarraz avatar Feb 22 '17 20:02 amlarraz

The compilation seems to work fine. I am not sure if this version of densecrf is compatible with deeplabv2 (we were using the original deeplab version). You could check that you are actually passing all the necessary parameters and that the format of inputs haven't changed. Unfortunately I cannot infer much from the segfault error.

psycharo-zz avatar Feb 23 '17 11:02 psycharo-zz

@amlarraz Have you resolve this problem? I have the same error. I have not resolve this issue for several days.

xmojiao avatar Sep 07 '17 10:09 xmojiao