-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running the link prediction experiment #12
Comments
Hello, I also encountered this problem, can I ask if you found a solution? |
Hello, I also encountered this problem. It seems like there is a bug with both, schlichtkrull_normal_, and schlichtkrull_uniform_ in utils.misc
because in torch_rgcn.models. my line 55, 56 you do not pass the 'shape' value
I think, in addition, there is something wrong with Workaround: I am able to get rid of that error when changing, in the respective yaml file, the This means of course that a different function is used for initialising biases, however, it at least gets rid of the error, so maybe this helps you for now @huluwaaaa :) |
Thanks @JuliaGast for this. I will look into this. It's strange that I didn't encounter the problem. Which version of PyTorch were you using? |
Hi @thiviyanT thanks for your reply and for looking into this! I assume it has nothing to do with pytorch though, because I get the error message about the missing argument: schlichtkrull_normal_() missing 1 required positional argument: 'shape' which actually makes sense, when looking at the fact that only one argument is given here: :) |
I also encounter this problem. The classification part of mine goes well. And I have create the environment the same as the environment.yml except the scared=0.8.2 because of the loss of 0.8.1 in all my channels, but I think it doesn't matter. the error log as follow: INFO - R-GCN Link Prediction - Running command 'train' |
Hello, it's me again. This time ,I solve the error I met. I found that the LinkPredictor.Forward of the file "models.py" has a strange line. line 134 exists a exit(),this make my code didn't work. Why this line exists? |
Hello @OIGrass Or did you modify it to something like:
(in conf.yaml)? |
Hello @thiviyanT @OIGrass @JuliaGast The link prediction runs after changing the config to use |
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:
The text was updated successfully, but these errors were encountered: