Skip to content

Enable torch.load in dataset_pyg.py - #505

Open
nklsKrmnn wants to merge 1 commit into
snap-stanford:masterfrom
nklsKrmnn:patch-1
Open

Enable torch.load in dataset_pyg.py#505
nklsKrmnn wants to merge 1 commit into
snap-stanford:masterfrom
nklsKrmnn:patch-1

Conversation

@nklsKrmnn

Copy link
Copy Markdown

It seems like Torch has recently changed its load function to default to "weights_only=True". This causes errors in the current version of this library. I am not an expert, and I don't know if my solution is safe, but this was my workaround to get your code running.

It seems like Torch has recently changed its load function to default to "weights_only=True". This causes errors in the current version of this library.  I am not an expert, and I don't know if my solution is safe, but this was my workaround to get your code running.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant