Open lliuz opened 2 years ago
I am wondering why the memory are normalized for the input of selector, but the features are not. https://github.com/Shathe/SemiSeg-Contrastive/blob/dc53c6da64f91c1ebce320f6e2ce3cc9f3df7414/contrastive_losses.py#L36-L37 https://github.com/Shathe/SemiSeg-Contrastive/blob/dc53c6da64f91c1ebce320f6e2ce3cc9f3df7414/contrastive_losses.py#L47-L48
I am very confused why permute is needed here, which causes a inconsistent with Eq 8 in the paper for memory part. https://github.com/Shathe/SemiSeg-Contrastive/blob/dc53c6da64f91c1ebce320f6e2ce3cc9f3df7414/contrastive_losses.py#L58
我也有这个疑问
I am wondering why the memory are normalized for the input of selector, but the features are not. https://github.com/Shathe/SemiSeg-Contrastive/blob/dc53c6da64f91c1ebce320f6e2ce3cc9f3df7414/contrastive_losses.py#L36-L37 https://github.com/Shathe/SemiSeg-Contrastive/blob/dc53c6da64f91c1ebce320f6e2ce3cc9f3df7414/contrastive_losses.py#L47-L48
I am very confused why permute is needed here, which causes a inconsistent with Eq 8 in the paper for memory part. https://github.com/Shathe/SemiSeg-Contrastive/blob/dc53c6da64f91c1ebce320f6e2ce3cc9f3df7414/contrastive_losses.py#L58