Open WMX567 opened 1 year ago
DGL-LifeSci just employs a few operators in DGL and PyTorch. If some of these operators have inherent randomness that cannot be addressed by fixing the random seed, then you will still see some randomness in the results you obtain. One way to tackle the issue is to report the mean and std of the performance numbers over multiple random runs. If you are dealing with a small dataset, then running multiple runs will not be infeasible.
Hi,
I use the GCN Predictor in this repo
DGL version is 1.0.1 PyTorch version is 1.12.1
I set the random seeds in this way:
Any idea about how to fix the reproducibility? Thanks!