-
Notifications
You must be signed in to change notification settings - Fork 15
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
assertion error #15
Comments
Maybe you can cast the type of |
I am afraid it is not that simple in this case. Thanks for trying to help! |
@ZillaRU, thank you for the suggestion! Hi @simosss, as shown in the
Could you please try to update your CUDA to version 10.2? |
Hi @NYXFLOWER thanks for the suggestion! Unfortunately, this doesn't seem to solve the problem. I updated cuda toolkit to version 10.2 I don't know if the version of the pytorch and pytorch geometric are to be blamed, Any more thoughts would be more than welcome, thanks a lot! |
Thank you for the feedback, @simosss! There is another stable environment with cuda 10.1, python 3.7.6, pytorch 1.4.0, torch-geometric 1.4.2, torch-scatter 2.0.4, torch-sparse 0.6.1, and torch-spline-conv 1.2.0 (see more details in tip_gpu_2.yml.zip). For your convenience, here is the link for installing a PyG < 2.0 and its prerequisite packages: https://data.pyg.org/whl/. I had tested this environment several days ago, and it ran successfully on multiple servers. |
Hello again @NYXFLOWER ! Thanks for the detailed description. I would probably be unable to install the particular environment without this extra help. Unfortunately I still get a similar (?) error, although a different one. (see attachment) I am not sure what to make of it. I believe I recreated the environment you described accurately. |
Hi @simosss, I am sorry for the late reply. I hope you have solved this issue. I recently met the same error as you mentioned in data.gd_edge_index = data.gd_edge_index.type(torch.long)
data.gg_edge_index = data.gg_edge_index.type(torch.long) @ZillaRU's suggestion in #15 (comment) also works. Thanks! |
Hello!
I am trying to reproduce the results of the TIP paper in the framework of my graduate thesis.
I run prepare.py to completion as described in readme. But when I run the tip.py script I get an assertion error telling me that the edge_index is not of the torch.long type (I attach the full error). Any ideas on why this might be the case?
tip_error.txt
The text was updated successfully, but these errors were encountered: