Patent ID: 11908124
Assignee: CHONGQING UNIVERSITY
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 4:
5. The pavement nondestructive detection and identification method based on the small samples according to claim 1, wherein verifying reliability of the transformer model based on a mean square loss (MSE) comprises: adjusting model parameters through testing TRIPLET and BCE loss, wherein a method for testing the TRIPLET and the BCE loss is:

BCE=y log x+(1−y)log(1−x)

MSE=(y−x)2 

TRIPLETa,p,n=max(0,S[d(a,p)]d(a,p)−S[d(a,n)]d(a,n)+margin)),, wherein y and x are a target and prediction correspondingly, d(-) is a distance function, a, n and p are an anchor sample, a positive sample and a negative sample respectively, and S is a softmax function.