Data splitting and dataset.data #5607
-
Is there a better way to split the dataset besides doing
|
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Oct 5, 2022
Replies: 1 comment 10 replies
-
dataset = dataset[torch.tensor([0, 2, 4, 6])]
|
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
anthonysirico
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dataset = dataset[:1000].copy()
.