Skip to content
Discussion options

You must be logged in to vote

You can save and load them via:

torch.save(data.to_dict(), path)
data = Data.from_dict(torch.load(path))

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@davidireland3
Comment options

@rusty1s
Comment options

@davidireland3
Comment options

Answer selected by davidireland3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants