Skip to content
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

Examples need to be updated #97

Closed
Bancherd-DeLong opened this issue Apr 20, 2022 · 7 comments
Closed

Examples need to be updated #97

Bancherd-DeLong opened this issue Apr 20, 2022 · 7 comments
Labels
bug Something isn't working xgraph Interpretability of Graph Neural Networks

Comments

@Bancherd-DeLong
Copy link

Hi:

Thank you for sharing this very useful package. I noticed that many of the examples have not been updated to the new API's. It is not that important since we could still follow the examples after minor modifications, with the help of documentation provided.

Regards,

@mengliu1998
Copy link
Collaborator

Hi @Bancherd-DeLong,

Thank you for your interest and for raising this issue. Could you provide the specific examples that have not been updated? We will take a look and update it accordingly. Thank you!

@JerryJohnThomas
Copy link

JerryJohnThomas commented May 10, 2022

model.load_state_dict(torch.load(ckpt_path)['state_dict']) for most of the examples in XAI i get an error KeyError: 'conv1.lin.weight'.

SideNote request: In the examples provided for XAI the models used are different ( i havent found documentation for it) is there any references on how to use models like gcn_2l and all . Thanks in advance.

@CM-BF
Copy link
Collaborator

CM-BF commented Jun 14, 2022

Thank you for your comment. We are actively updating the DIG version to support latest PyG and PyTorch.

@dvoinaTG
Copy link

I have the same issue as JerryJohnThomas!

@dvoinaTG
Copy link

Is there any way around it?

@CM-BF CM-BF added bug Something isn't working xgraph Interpretability of Graph Neural Networks labels Jun 23, 2022
@CM-BF
Copy link
Collaborator

CM-BF commented Jun 24, 2022

Solved on dig-stable branch. You may try them. :)

@Bancherd-DeLong
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working xgraph Interpretability of Graph Neural Networks
Projects
None yet
Development

No branches or pull requests

5 participants