Patent ID: 11908239
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 2:
3. The method according to claim 2, wherein the calculating the identity output probability comprises:
calculating the identity output probability of each identity category in the following manner:, Y
    
     I
     j
    
   
   =
   
    
     e
     
      
       w
       
        I
        j
       
      
      ·
      
       E
       ⁡
       (
       x
       )
      
     
    
    
     
      
       ∑
        
      
      i
     
     ⁢
     
      e
      
       
        w
        
         I
         i
        
       
       ·
       
        E
        ⁡
        (
        x
        )
       
      
     
    
   
  
  ;
 

where YIj denotes the identity output probability of a jth identity category, i denotes a total quantity of identity categories, E(x) denotes the first image feature, wIj denotes the network weight value of the identity classifier corresponding to the jth identity category, and wIi denotes the network weight value of the identity classifier corresponding to an ith identity category; and
the first loss function is expressed as:

LI=−E[log P(yI|YI)];

where LI denotes the first loss function, E denotes expected value calculation, P(yI|YI) denotes a probability that YI belongs to yI, yI denotes the identity tag, and YI denotes the first identity prediction result.