Contents:
Visualize contrastive loss between 2B images with S objects each, probabilities only.
obj_feats (Tensor) – object feature tensor of shape [2B S C], where S is the number of objects per image.
Tensor
[2B S C]
S
temp (float) – loss temperature
float
loss (float) – loss value to display on the plots
Figure
A figure with a single plot of matching probabilities.