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

GRAPHSAGE "model.fit()" reaching exception in StellarGraph "Inductive node classification and representation learning using GraphSAGE" demo #2080

Open
cloudmadeofcandy opened this issue Feb 14, 2023 · 0 comments
Labels
bug Something isn't working sg-library

Comments

@cloudmadeofcandy
Copy link

Describe the bug

I was using the GraphSAGE model in my own code today and realized that whenever I fit the model, instead of using the main pipeline, StellarGraph met an exception, then fired the error handlers.

The graph shows that GraphSAGE indeed learns from the data inductively, however the training time shot up to around 6 minutes per 10 epochs.

This is reproducible via running the stable (1.2.1) demo "https://colab.research.google.com/github/stellargraph/stellargraph/blob/master/demos/node-classification/graphsage-inductive-node-classification.ipynb".

To Reproduce

Steps to reproduce the behavior:

Run the following demo:

https://colab.research.google.com/github/stellargraph/stellargraph/blob/master/demos/node-classification/graphsage-inductive-node-classification.ipynb

Observed behavior

The model.fit() function reduce to error_handler, then uses Keras default fit function

Expected behavior

StellarGraph should be using the adapted fit function

Environment

Operating system: Ubuntu, Google Colab

Python version: 3.8.10

Package versions: stellargraph==1.2.1, tensorflow==2.11.0, keras==2.11.0

image

@cloudmadeofcandy cloudmadeofcandy added bug Something isn't working sg-library labels Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sg-library
Projects
None yet
Development

No branches or pull requests

1 participant