-
Notifications
You must be signed in to change notification settings - Fork 81
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
RuntimeError during default execution #3
Comments
Hi, Sorry for the big delay on the answer, in my opinion the errors you reported come from the Pytorch version. I've got similar errors changing the pytorch release due to changes on the "sum" behaviour. It was in another code I am working on. https://github.com/pytorch/pytorch/releases I suggest to add keepdim=False in sum operations for fast and easy solve of this problem. After a few weeks, I will try to fix the code to new pytorch versions. |
I tried to fix the problem and made some improvements, but not confident with the correctness, someone may verify it. |
Hello, @priba To make things easier, which version of pytorch are we supposed to be running? |
Hello, @priba Thanks for the implementation! I encountered the same issue here. I experimented with pytorch versions 0.2.0, 0.3.0 and 1.0.0, and I've also added keepdim=False to all sum operations in datasets.utils.py and models.MPNN.py, but none of them worked.
|
@ay27 I've applied your patch and have another problem:
|
I run into the same error: So if it is due to version update, could I know what version you are using? (I am using pytorch 0.4.1) |
At that time I was using Pytorch 0.3.0 |
I made a small change like this: |
@njwm I did the same in order to get past that error and it worked (even though another similar error came regarding a .sum operation). But can you please verify if it affected the results? |
Perhaps it is better like this: |
I don't think it makes sense,it just gets past that error. |
Hello, thank you for your implemenation!
I've just tried to run default experiment with
python main.py --no-cuda --epochs 1
and run into the following problem
Am i doing something wrong? Thank you in advance.
The text was updated successfully, but these errors were encountered: