cdvae
cdvae copied to clipboard
import error
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
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.
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