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

How to define number of classes ? #6

Open
TrinhThiBaoAnh opened this issue Jul 22, 2023 · 1 comment
Open

How to define number of classes ? #6

TrinhThiBaoAnh opened this issue Jul 22, 2023 · 1 comment

Comments

@TrinhThiBaoAnh
Copy link

i saw in the train.py : num_classes = 5
Does this consider background as a class?
I have a binary segmentation task, should i put num_classes = 2?

@amlarraz
Copy link
Owner

yes! you should consider the background as an additional class

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

2 participants