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

import error #44

Open
GSweets221 opened this issue May 31, 2023 · 2 comments
Open

import error #44

GSweets221 opened this issue May 31, 2023 · 2 comments

Comments

@GSweets221
Copy link

When I try to run the code, it seems to be an import error in "from torch_geometric.nn.acts import swish
". I can't find the acts under torch_geometric.nn
I also tried to import SiLU instead of swish but still didn't work

@GSweets221
Copy link
Author

solved by using SiLU but I got another problem. I don't understand what do the numbers in 'Percentiles' in 'compute_metrics.py' mean and which property is trained while the predict_property is set True? The loss seems to be compared with batch.y but didn't find the exact property in the code.

@kyonofx
Copy link

kyonofx commented Jun 8, 2023

Property for each dataset is in the config: https://github.com/txie-93/cdvae/blob/main/conf/data/mp_20.yaml#L2

Import problems are likely caused by different pytorch geometric versions, 2.0.4 should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants