HieraSeg icon indicating copy to clipboard operation
HieraSeg copied to clipboard

Question: distance in triplet loss

Open mella30 opened this issue 7 months ago • 0 comments

Hi @lingorX , I'm adapting your loss to my framework, and I'm wondering about the distance measure used in the tree triplet loss. In the paper you wrote, that you used the cosine distance but in the code, I only find this snippet: https://github.com/lingorX/HieraSeg/blob/cc3c1cfbabe3cc2af620e0193a245822cca8a841/Pytorch/mmseg/models/losses/tree_triplet_loss.py#L49 Which one did you use to produce the reported results? Did you have any insights on the choice of the distance measure?

mella30 avatar Jul 29 '24 06:07 mella30