This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
How to use dataset using different keys #1199
Unanswered
errorfixrepeat
asked this question in
Data / pipelines
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Flash for multilabel image data, but am having issues using ImageClassificationData.from_datasets(). The datasets are provided to me and I am unable to change their implementation.
Accessing an individual item (dataset[i]) returns a dictionary with the keys ('image','label') rather that ('input','target') used by Flash.
Is there somewhere I can override these defaults, or a hook where I can provide a function to change the dictionary keys?
Beta Was this translation helpful? Give feedback.
All reactions