You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Figured out a solution. In this line, the argument parsed into the definition of contrastive loss have 'batch_size=batch_size*2'. However, in the function, the batch size has been multiplied again. The problem was fixed when I set 'batch_size=batch_size' in the definition. If it is the case, I would send a PR to fix that.
Activity
wyli commentedon Aug 13, 2022
this looks like a bug, @finalelement could you please help confirm?
wyli commentedon Sep 14, 2022
addressed by Project-MONAI/MONAI#5093