-
I was utilizing the latest version of python-geometric 2.X to achieve some latest implementations. When I have to handle the dataset processed by the older version of PyG (1.X), this error occurs. I'd like to inquire, is there a way that I can handle the data without degrading the PyG version to 1.X (since some lastest implementations in 2.X is really needed)? The following is the full traceback. Many thanks!! Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Sadly, you currently have to downgrade PyG, really sorry. I will look into ways to make this more performant across different releases. With downgrading, you can then do In PyG 1.*
data = torch.load('data.pt')
torch.save(data.to_dict(), 'data_dict.pt')
# In PyG 2.*
data_dict = torch.load('data_dict.pt')
data = Data.from_dict(data_dict)
torch.save(data, 'data.pt') |
Beta Was this translation helpful? Give feedback.
Sadly, you currently have to downgrade PyG, really sorry. I will look into ways to make this more performant across different releases. With downgrading, you can then do