Skip to content

Dice, can I use your Dice expression with probabilities instead of thresholded values? #60

@ManuelZ

Description

@ManuelZ

TLDR: Can I use the forward expression (with squares in the denominator) with probabilities instead of thresholded values?

Hi, I saw in your thesis, page 73, that the Dice coefficient has two variants:

image

On page 74, you say:

We use the first formulation of dice in this work, exhibiting the squares of pi and gi at the denominator.

But I don't see those squared pi and gi in the code:

self.union[i]=(np.sum(CurrResult) + np.sum(CurrGT))

I guess that's because earlier you thresholded the values to be binary. So the squares don't matter for the calculation of the loss, but do matter for the formulation of the expression for the backward pass.

My question is, can I use the forward expression (with squares in the denominator) with probabilities instead of thresholded values?

Thanks,
Manuel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions