Skip to content

The number of subfolders doesn't match the number of specified classes when using custom Dataset #1341

Answered by Ezra-Yu
foreverls asked this question in Q&A
Discussion options

You must be logged in to vote

The dataset structure is similar to below, but only two classes(Female/Male). and same for test and val folder.

Check there are only 2 sub-folders, both in your train/val/test dataset root.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@foreverls
Comment options

@foreverls
Comment options

Answer selected by mzr1996
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