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

Import Error #2

Closed
vvshyer opened this issue Oct 30, 2018 · 9 comments
Closed

Import Error #2

vvshyer opened this issue Oct 30, 2018 · 9 comments

Comments

@vvshyer
Copy link

vvshyer commented Oct 30, 2018

After installing pynauty, run the first cell in receptive_field_maker_example.ipynb returned importError:

ImportError: dlopen(/Users/sunhuayan/Library/Python/3.6/lib/python/site-packages/pynauty/nautywrap.cpython-36m-darwin.so, 2): Symbol not found: _dispatch_graph
Referenced from: /Users/sunhuayan/Library/Python/3.6/lib/python/site-packages/pynauty/nautywrap.cpython-36m-darwin.so
Expected in: flat namespace
in /Users/sunhuayan/Library/Python/3.6/lib/python/site-packages/pynauty/nautywrap.cpython-36m-darwin.so

Could you please tell me how to fix this? Many THX~

@tvayer
Copy link
Owner

tvayer commented Oct 30, 2018

It's working for me in Mac OS 10.12 and Unbutu 16.04 with both python 3.5 and 3.6. What is your OS ?

Maybe you could check :
https://stackoverflow.com/questions/35006614/what-does-symbol-not-found-expected-in-flat-namespace-actually-mean
https://stackoverflow.com/questions/32277351/what-does-expected-in-flat-namespace-mean

@vvshyer
Copy link
Author

vvshyer commented Oct 30, 2018

Mac OS 10.14 with python 3.6

@tvayer
Copy link
Owner

tvayer commented Oct 30, 2018

I updated Nauty, uninstall pynauty and rebuild it with the new version and tell me if you still get the error

@vvshyer
Copy link
Author

vvshyer commented Oct 30, 2018

It works~
Thank you very much.

@tvayer
Copy link
Owner

tvayer commented Oct 30, 2018

Great !

@vvshyer vvshyer closed this as completed Nov 5, 2018
@tvayer
Copy link
Owner

tvayer commented Nov 5, 2018 via email

@vvshyer
Copy link
Author

vvshyer commented Nov 8, 2018

I found that the accuracy of y_test in train_example.ipynb is only 30+. Why it's so bad? Is it possible to make it better?

@tvayer
Copy link
Owner

tvayer commented Nov 8, 2018

Yes there was an error in preds, the output was a 2 -dim array, i added an update (I just used ravel for preds)

@vvshyer
Copy link
Author

vvshyer commented Nov 10, 2018

Thanks for updating!
I still confused about how to make receptive field for edges? I mean the whole paper is talking about nodes. I am thinking about what if I want to learn CNNs for both nodes and edges? Have you every think about this?
Thank you very much again~

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

2 participants