Contents:
Visualize contrastive loss between 2B images with S objects each.
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
loss (float) – loss value to display on the plots
float
Figure
A figure with two plots.