HieraSeg
HieraSeg copied to clipboard
Question: distance in triplet loss
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?