Skip to content

Conversation

JosuaRieder
Copy link
Contributor

Addresses #1800

@rwightman
Copy link
Collaborator

@JosuaRieder thanks for the PR ... might have gathered from my comment in the bug related to class map foder filtering though it's relatred, the class map should be treated separately from the label information. class map is used for filtering, it can actually remove class labels from a dataset while remapping to a different classifier layout.

Assigning descriptions, label names should be separate.

@JosuaRieder
Copy link
Contributor Author

Assigning descriptions, label names should be separate.

In that case, I may have misinterpreted what the intended use case of --class-map is.

What is the intended way to train an / infer with an efficientnet with custom classes?
I used --class-map class_map.txt --model efficientnet_b7 --num-classes 8 and it generally worked, both for training from scratch as well as finetuning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants