Replies: 1 comment 1 reply
-
Mh, yeah I assume you are right because GraphGym either supports training on a single graph for node classification, or on a set of different graphs for graph classification. IMO, the most easiest approach would be to utilize the trained train(model, datamodule)
model(new_data) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On GraphGym, I hope to train on a graph, and evaluate on a separate graph. They will have the same input/output space (i.e. same number of node features), and I want to see how my model generalises to another graph.
How should I approach the data splitting and training code? This is quite a general question, but I'm a bit stuck and am starting from a codebase that uses GraphGym: https://github.com/luis-mueller/probing-graph-transformers
UPDATE: One potential option I'm looking into is modifying the
create_loader
function in GraphGym directly.Beta Was this translation helpful? Give feedback.
All reactions