SpCL icon indicating copy to clipboard operation
SpCL copied to clipboard

There are some questions related to the cluster center in the code

Open WentaoTan opened this issue 5 years ago • 1 comments

I found that when calculating the loss in the dynamic memory bank, the cluster center feature is not used, or the instance-level feature is used. May I be the one who made a mistake?

WentaoTan avatar Apr 01 '21 14:04 WentaoTan

Please refer to https://github.com/yxgeee/SpCL/blob/master/spcl/models/hm.py#L71

We calculate the cluster centers by dividing the feature sum by the number of samples.

yxgeee avatar Apr 01 '21 14:04 yxgeee