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

Generalised Dice Loss: Python layer #59

Open
sara-eb opened this issue Jan 14, 2019 · 0 comments
Open

Generalised Dice Loss: Python layer #59

sara-eb opened this issue Jan 14, 2019 · 0 comments

Comments

@sara-eb
Copy link

sara-eb commented Jan 14, 2019

Hi,

I am implementing generalized dice loss python layer,
I have extracted the labels to be treated as binary segmentation problem, Now I have some misunderstanding on background labels, which is 0 values and is the feature map[0] in a subvolume NxCxDxWxH (C stands for class numbers: 5 classes, and D stands for the depth of subvolume).

according to this line for binary segmentation with Blob shape with 2 feature maps, it is clear how to do that, what about generalized dice loss? Because I have 4 extra feature maps for foreground classes. How can I calculate the bottom[0].diff[i,0,:] for the background here?

Your expert opinion is really appreciated
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

1 participant