I was trying to replicate your result. I followed README.md to set up this repo. However, when I try to run it I got a Runtime error as followed:
RuntimeError: The 'data' object was created by an older version of PyG. If this error occurred while loading an already existing dataset, remove the 'processed/' directory in the dataset's root folder and try again.
I beleive this error occur because of the DataLoader in the data_prepare.py. Any solution on how to solve this? Much appreciated.
Add this into data_prepare.py:
def bump(g): return Data.from_dict(g.__dict__)
And for prot_1 & 2 in class LabelledDataset(Dataset_n) do:
prot_1 = bump(prot_1) prot_2 = bump(prot_2)
I was trying to replicate your result. I followed README.md to set up this repo. However, when I try to run it I got a Runtime error as followed:
RuntimeError: The 'data' object was created by an older version of PyG. If this error occurred while loading an already existing dataset, remove the 'processed/' directory in the dataset's root folder and try again.
I beleive this error occur because of the DataLoader in the data_prepare.py. Any solution on how to solve this? Much appreciated.