cdvae icon indicating copy to clipboard operation
cdvae copied to clipboard

import error

Open GSweets221 opened this issue 1 year ago • 2 comments

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 avatar May 31 '23 09:05 GSweets221

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.

GSweets221 avatar Jun 08 '23 09:06 GSweets221

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

kyonofx avatar Jun 08 '23 10:06 kyonofx