GraphSAGE-and-GAT-for-link-prediction icon indicating copy to clipboard operation
GraphSAGE-and-GAT-for-link-prediction copied to clipboard

where is the ia-contacts_hypertext2009_neg_examples_train_True_True.txt generated?

Open liunianxuxie opened this issue 4 years ago • 3 comments

Hi, when i run python main.py --json config_gat.json, there is a error is ia-contacts_hypertext2009_neg_examples_train_True_True.txt not found. I don't know where ia-contacts_hypertext2009_neg_examples_train_True_True.txt generated or how I can get the ia-contacts_hypertext2009_neg_examples_train_True_True.txt.

liunianxuxie avatar Apr 25 '20 14:04 liunianxuxie

Sorry for the late response! You can download the dataset from here and then generate the examples.

raunakkmr avatar Feb 03 '22 03:02 raunakkmr

so how to generate the examples?

Sorry for the late response! You can download the dataset from here and then generate the examples.

HanazawaKanana avatar Dec 18 '23 18:12 HanazawaKanana

This line is the call to create a dataset object. The sequence of function calls ultimately creates a dataset object using the code in src/datasets/link_prediction.py. This processes the graph to do a variety of things, including generating positive and negative examples.

raunakkmr avatar Dec 21 '23 19:12 raunakkmr