LocalAggregation icon indicating copy to clipboard operation
LocalAggregation copied to clipboard

What's the meaning of '2876934.2 / 1281167 * self.data_len' when calculating instance_Z?

Open walkingwindy opened this issue 4 years ago • 2 comments

Thanks for this great work.

However, there still exits a problem making me confused, that is how to calculate the Z in NCE loss. In the implementation of the code, I found that Z is defined as '2876934.2 / 1281167 * self.data_len', I wondering what's the meaning of 2876934.2 and 1281167

THANKS FOR ANY HELPFUL ADVICES:)

walkingwindy avatar Jul 16 '20 12:07 walkingwindy

Hi, please check explanations here: https://github.com/neuroailab/LocalAggregation-Pytorch/issues/1, sorry for the confusion.

chengxuz avatar Jul 16 '20 14:07 chengxuz

Oh!I got it. Thanks for your reply!

walkingwindy avatar Jul 17 '20 05:07 walkingwindy