DeepRobust icon indicating copy to clipboard operation
DeepRobust copied to clipboard

Unable to use PYG example

Open shawn-dm opened this issue 3 years ago • 2 comments

When I use the three examples you recommended using pyg, the program all reports the same error, is there an error in the dpr2pyg file?

File "/usr/local/anaconda3/envs/torch_pyg/lib/python3.9/site-packages/deeprobust/graph/data/pyg_dataset.py", line 83, in get item, slices = self.data[key], self.slices[key] TypeError: 'NoneType' object is not subscriptable

shawn-dm avatar Mar 08 '22 08:03 shawn-dm

Not available in versions of pyg after 2.0, but available in older versions of pyg.

shawn-dm avatar Mar 08 '22 09:03 shawn-dm

Fixed in master.

EdisonLeeeee avatar Aug 23 '22 02:08 EdisonLeeeee