Multilabel Classification #8193
-
|
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Oct 20, 2023
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mh, good question. That's more of a PyTorch question, and we have our own implementation for that via
InMemoryDataset.shuffle()
. What you can is either (1) dividegood_set
andbad_set
into individual training/validation samples, and then constructtrain_dataset
andval_dataset
out of them, e.g.,ConcatDataset([good_train_set, bad_train_set])
; (2) Alternatively, you can just shuffle[good_set] + [bad_set]
before: