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

3 classification #2

Open
maswyp opened this issue Sep 28, 2017 · 4 comments
Open

3 classification #2

maswyp opened this issue Sep 28, 2017 · 4 comments

Comments

@maswyp
Copy link

maswyp commented Sep 28, 2017

Hello I am trying to use unet on a custom data set of labels that have the standard 3 RGB channels. My question is how would I configure the mask for each image given that there are three different classifications I want?

@mingzhaochina
Copy link

So,where is the data?

@maswyp
Copy link
Author

maswyp commented May 23, 2018

Thanks for your reply, i find a way to solve this problem, just replace the output of the network lay to 3 and rewrite loss function

@mingzhaochina
Copy link

Thanks!May I ask for 3 classification did you make a label for every class separately?In this code the label has only one channel,it is impossible to calculate loss function because the label and the data don't have the same shape.

@maswyp
Copy link
Author

maswyp commented May 29, 2018

I use one-hot code to divide the label, my loss function is 1-dice/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