I want to use an external NCE loss term using image patches from the rest of dataset (Eq. 4 in the paper). It is mentioned that MoCo has been used but I could not find the implementation in the repo. Besides, I guess we should set batch_dim_for_bmm = self.opt.batch_size in patchnce.py (Line 35).
I want to use an external NCE loss term using image patches from the rest of dataset (Eq. 4 in the paper). It is mentioned that MoCo has been used but I could not find the implementation in the repo. Besides, I guess we should set batch_dim_for_bmm = self.opt.batch_size in patchnce.py (Line 35).
Can you please guide me about this?