HazeDT / PHMGNNBenchmark

this code library is mainly about applying graph neural networks to intelligent diagnostic and prognostic.
224 stars 51 forks source link

utils\train_graph_utils.py的bug #5

Open yanshen210 opened 2 years ago

yanshen210 commented 2 years ago

作者您好,标题的文件中for data in self.dataloaders[phase]:这行代码报错,原因为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. 请问是PyG的版本太高了吗,我用的PyG版本为2.0.1,盼回复!

943fansi commented 2 years ago

@yanshen210 Hi, yanshen. Have you solved this problem? I met same question.

Zuoshutong commented 1 year ago

作者您好,标题的文件中for data in self.dataloaders[phase]:这行代码报错,原因为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. 请问是PyG的版本太高了吗,我用的PyG版本为2.0.1,盼回复!

您还需要帮助吗 这个代码我调通了 如果需要可以加我qq 1277098746

您好,qq无法被搜索到,可以加一下交流一下吗

jmsharden777 commented 1 year ago

是的,你换成1.6.1的版本就可以成功运行了