Patent ID: 11941086
Assignee: SALESFORCE, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A non-transitory processor-readable medium storing a plurality of processor-executable instructions for saliency-constrained random cropping of a training image, the processor-executable instructions being executed by a processor to perform operations comprising:
receiving a training image sample;
generating, from the training image sample, a saliency map in a form of a binary mask indicating a plurality of salient regions in the training image sample;
generating a first random crop and a second random crop of the training image sample, both subject to a crop constraint that each of the first random crop and the second random crop overlaps with one or more salient regions in the saliency map for more than an area-overlap threshold;
sending the first random crop as a key and the second random crop as a query to a contrastive learning network;
computing a contrastive loss from the first random crop corresponding to the key and the second random crop corresponding to the query from the contrastive learning network; and
updating the contrastive learning network based at least in part on the contrastive loss.