You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, again... I would like to ask about how to configure your script for running with link prediction tasks...
It is just that at the moment, I am a little confused, and I hope you could help explain...?
From my understanding, if I want to run your demo with link prediction, I should just set the custom key --custom-key EV13NSO8-ES-Link as in the following command line ...is that right?
python3 SuperGAT/main.py --dataset-class Planetoid --dataset-name Cora --custom-key EV13NSO8-ES-Link --num-gpus-total 2
However, I get the following error:
Traceback (most recent call last):
File "SuperGAT/main.py", line 475, in <module>
many_seeds_result = run_with_many_seeds(main_args, num_total_runs, gpu_id=alloc_gpu[0])
File "SuperGAT/main.py", line 407, in run_with_many_seeds
ret = run(_args, gpu_id=gpu_id, **kwargs)
File "SuperGAT/main.py", line 321, in run
run_link_prediction=(perf_task_for_val == "Link"))
File "SuperGAT/main.py", line 202, in test_model
val_or_test_edge_y = batch.val_edge_y if val_or_test == "val" else batch.test_edge_y
AttributeError: 'Data' object has no attribute 'val_edge_y'
Also, I have noticed that the option is_link_gnn=False .... What does this mean?
if I want to run your demo with link prediction, I should just set the custom key --custom-key EV13NSO8-ES-Link as in the following command line ...is that right?
Change Planetoid to LinkPlanetoid will solve the issue.
This class is basically the same as the original one, but with train/val/test split of edges.
Also, I have noticed that the option is_link_gnn=False .... What does this mean?
You can think is_link_gnn flag is deprecated.
This is for the model I experimented with before but did not put into the paper.
Hello, again... I would like to ask about how to configure your script for running with link prediction tasks...
It is just that at the moment, I am a little confused, and I hope you could help explain...?
--custom-key EV13NSO8-ES-Link
as in the following command line ...is that right?Also, I have noticed that the option
is_link_gnn=False
.... What does this mean?Here is the print out of the options:
The text was updated successfully, but these errors were encountered: