Skip to content

Error when running the link prediction experiment  #12

@raftelo

Description

@raftelo

I was able to run the node classification on all datasets, unfortunately the link prediction experiment always throws an exception, I've tried changing the configurations but no luck, below is the error:

...
WARNING - root - Added new config entry: "training.use_cuda"
WARNING - R-GCN Link Prediction  - No observers have been added to this run
INFO - R-GCN Link Prediction  - Running command 'train'
INFO - R-GCN Link Prediction  - Started
ERROR - R-GCN Link Prediction  - Failed after 0:00:00!
Traceback (most recent calls WITHOUT Sacred internals):
  File "experiments/predict_links.py", line 88, in train
    decoder_config=decoder
  File "/home/raftel/torch-rgcn/torch_rgcn/models.py", line 224, in __init__
    .__init__(nnodes, nrel, nfeat, encoder_config, decoder_config)
  File "/home/raftel/torch-rgcn/torch_rgcn/models.py", line 58, in __init__
    init(self.node_embeddings)
TypeError: schlichtkrull_normal_() missing 1 required positional argument: 'shape'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions