Git Product home page Git Product logo

Comments (12)

ssantos97 avatar ssantos97 commented on September 12, 2024

The outputs of the forward for GraphSAGE are all equal for the same iteration, which I think makes sense since the features are all 1.

from gnn-comparison.

ssantos97 avatar ssantos97 commented on September 12, 2024

Also outputs after first layer(x, edge_index) are all equal for the same training iterations.

from gnn-comparison.

ssantos97 avatar ssantos97 commented on September 12, 2024

Same thing occurs for IMDB-MULTI, the accuracies don't go higher than 30%

from gnn-comparison.

diningphil avatar diningphil commented on September 12, 2024

Hi, I'm investigating. It's possible it has to do with the newer version of PyG compared to 2020. Have you tried other social/chemical datasets rather than IMDB?

from gnn-comparison.

diningphil avatar diningphil commented on September 12, 2024

It is working on my laptop. IMDB-BINARY learns when considering the degree.

Here are the steps to reproduce

  • source install.sh

image

Could you please double check that you are executing the commands correctly?

  • python PrepareDatasets.py DATA/SOCIAL_DEGREE --dataset-name IMDB-BINARY --use-degree --outer-k 10
  • cp -r DATA/SOCIAL_DEGREE/IMDB-BINARY/ DATA
  • python Launch_Experiments.py --config-file config_GraphSAGE.yml --dataset-name IMDB-BINARY --result-folder RESULTS --debug

Thanks,
Federico

from gnn-comparison.

ssantos97 avatar ssantos97 commented on September 12, 2024

I ran the same exact commands and the error persists :(
image

from gnn-comparison.

ssantos97 avatar ssantos97 commented on September 12, 2024

Deleted the folder Data and ran the commands you mention and now it seems to work. I don't know what was blocking it from learning but anyways thank you.

from gnn-comparison.

diningphil avatar diningphil commented on September 12, 2024

I''m baffled as well.. happy to help! :)

from gnn-comparison.

ssantos97 avatar ssantos97 commented on September 12, 2024

python PrepareDatasets.py DATA/SOCIAL_1 --dataset-name IMDB-BINARY --use-one --outer-k 10
cp -r DATA/SOCIAL_1/IMDB-BINARY/ DATA
python Launch_Experiments.py --config-file config_GraphSAGE.yml --dataset-name IMDB-BINARY --result-folder RESULTS --debug

For SOCIAL_1 keeps not working :(

from gnn-comparison.

ssantos97 avatar ssantos97 commented on September 12, 2024

And this happens for all social datasets with use_one

from gnn-comparison.

diningphil avatar diningphil commented on September 12, 2024

Thanks for raising the problem. Apparently setting conv.aggr after initialization does not work anymore, so I updated the code and now GraphSAGE learns with "add" aggregation on SOCIAL_1 IMDB-BINARY.

Please pull and retry!

from gnn-comparison.

ssantos97 avatar ssantos97 commented on September 12, 2024

Working now. Thank you.

from gnn-comparison.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.