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

Compilation problem #1

Open
amlarraz opened this issue Feb 21, 2017 · 4 comments
Open

Compilation problem #1

amlarraz opened this issue Feb 21, 2017 · 4 comments

Comments

@amlarraz
Copy link

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!

@psycharo-zz
Copy link
Contributor

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

@amlarraz
Copy link
Author

amlarraz commented Feb 22, 2017

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)

@psycharo-zz
Copy link
Contributor

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.

@xmojiao
Copy link

xmojiao commented Sep 7, 2017

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

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

3 participants