Open Kevin-Planolles opened 5 months ago
Sure. The CCL loss is implicitly implemented via the following functions:
PretrainSentLoss
module here, where the base_criterion
, (i.e. the LabelSmoothingCrossEntropy module) computes the loss of visual and linguistics branches respectively.
The code is not clear about the CCL mentionned in the paper. It is not mentionned in the losses.py file. Is it possible to further explain where in the code this particular loss is used ?