densecrf
densecrf copied to clipboard
Compilation problem
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!
Hello. What exactly is the problem? I don't see any errors in your output, they are all warnings.
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)
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.
@amlarraz Have you resolve this problem? I have the same error. I have not resolve this issue for several days.