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

Name Importerror: 'EdgeConditionedConv' and 'batch_iterator' #410

Open
Akshay1010567 opened this issue Dec 22, 2022 · 1 comment
Open

Name Importerror: 'EdgeConditionedConv' and 'batch_iterator' #410

Akshay1010567 opened this issue Dec 22, 2022 · 1 comment

Comments

@Akshay1010567
Copy link

ImportError: cannot import name 'EdgeConditionedConv' from 'spektral.layers' (/usr/local/lib/python3.8/dist-packages/spektral/layers/init.py)

ImportError: cannot import name 'batch_iterator' from 'spektral.utils' (/usr/local/lib/python3.8/dist-packages/spektral/utils/init.py)

I could not solve this two Importerror. I install spektral successfully with all its packages. But on my local machine as well as google colab has not this two 'EdgeConditionedConv' and 'batch_iterator' name. Please help me to find out the solution.

@danielegrattarola
Copy link
Owner

Sorry for the late reply but for some reason I stopped receiving notifications.

You're probably using code that relies on an old version of Spektral. The correct name for ECC layers in ECCCOnv (https://graphneural.network/layers/convolution/#eccconv) and batch_iterator does not exist anymore (we've moved to using Loaders (https://graphneural.network/loaders/).

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