Skip to content

Questions about the edge loss function. #2

@WanSheng-SZU

Description

@WanSheng-SZU

Thanks for your work, may I ask why self.loss_fun2(HSI1, 1 - DSM) in HFSNet.py is subtracting DSM with 1, and it seems that DSM is not a tensor that contains only 0 or 1, but the DiceLoss function is set to mode='binary', so shouldn't DSM contain only 0 or 1? Looking forward to your answer, thanks.

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