Skip to content
Discussion options

You must be logged in to vote

simplest way is to use the default folder layout, make one 'dataset/train' folder, and another 'dataset/val' (and possibly test if you want a sep test set. Then make a folder for each class, name them consistently across each train / val folder and put examples of each class in its corresponding folder.

There are lots of other ways to do, like build a TFDS, build a Hugging Face dataset, use Webdataset and build tar files with appropriate annotations, etc.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by d5423197
Comment options

You must be logged in to vote
0 replies
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