qy-feng/margin-openset

Semantic Constrastive Mapping(SCM) loss is not consistent with the paper

zzzzzzzzzzzx opened this issue · 0 comments

Hi,
According to the paper, the Semantic Constrastive Mapping(SCM) loss has parameter ρ and w. like below
22
However, in this code, i cannot find these two parameters ρ and w. The SCM loss = D_k / n_k - D_u / n_u, without any weight. I am wondering whether part of the loss code is missing. Could u pls provide me this part of code? And i don't understand the ρ represent what cosine similarity. Thanks!
捕获