Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I chnage the number of output classes? #270

Open
GooDrYu opened this issue Nov 29, 2021 · 2 comments
Open

Can I chnage the number of output classes? #270

GooDrYu opened this issue Nov 29, 2021 · 2 comments

Comments

@GooDrYu
Copy link

GooDrYu commented Nov 29, 2021

Can I chnage the number of output classes? e.g. I Want to reduce the default 150 ouput classes to 10

@haiderasad
Copy link

i also want to know this kindly respond

@Raffael1998
Copy link

Hi, I am very interested too. I want to pick ~20 classes from the 150. (i want to focus on urban/ road related classes)
One idea would be to take the output probability vector of each class and just take the max probability of the 20 chosen classes. But this solution is not the best, a better way would be to retrain the model and limit to those 20 classes. I would also like to limit this training to the urban related training pictures.
Any idea on how to achieve that ?
Thanks

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

No branches or pull requests

3 participants