TAG-Benchmark icon indicating copy to clipboard operation
TAG-Benchmark copied to clipboard

Can't open the .pt files in the google drive

Open liuximeng2 opened this issue 2 years ago • 2 comments

Hi! After downloading the dataset from the google drive link, I can't open the .pt files using torch.load. An error occurs: _pickle.UnpicklingError: invalid load key, '?'. I wonder if this is related to torch version. Thanks!

liuximeng2 avatar Mar 27 '24 02:03 liuximeng2

This .pt file needs to be loaded using DGL, and can't be loaded directly using torch. For example: graph = dgl.load_graphs()[0][0]

sktsherlock avatar Mar 27 '24 02:03 sktsherlock

Hello, I also could not load based on torch.load and get the same error as liuximeng2. Are you saying that I should load the tensor from the .pt file using graph=dgl.load_graphs()? Or do I have to convert the .pt file?

euigyuki avatar Apr 09 '24 14:04 euigyuki