pretrain-gnns icon indicating copy to clipboard operation
pretrain-gnns copied to clipboard

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.

Open GreatnessBrain opened this issue 1 year ago • 3 comments

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.

GreatnessBrain avatar Oct 28 '23 03:10 GreatnessBrain

removed processed folder and worked. did not work out yet, still trying

leibohan avatar Dec 04 '23 06:12 leibohan

The problem is caused by the torch-geometric version.Try torch-geometric==1.7.2 .

LiXingyanJason avatar Apr 20 '24 04:04 LiXingyanJason

The problem is caused by the torch-geometric version.Try torch-geometric==1.7.2 .

This works for me, before I tried the torch-geometric larger than 2XX, adjust the code, but still cannot run after a long time debuging. Finally, I reinstall the torch-geometric==1.7.2, worksnow. Seems the torch-geometric has a large change about the data processing from 1XX - 2XX.

00JackLu avatar May 08 '24 07:05 00JackLu