yaojieliu / ECCV20-STDN

Source code for ECCV 2020 paper: On Disentangling Spoof Trace for Generic Face Anti-Spoofing
http://cvlab.cse.msu.edu/project-face-anti.html
Other
150 stars 35 forks source link

aboat the label of ESR #16

Closed Elijah-Yi closed 3 years ago

Elijah-Yi commented 3 years ago

in train.py line 93, The label of the living sample should be 1 and the label of the spoof should be 0, in line 93: esr_loss = l1_loss(M_li, -1) + l1_loss(M_sp, 1), maybe: rewritten as esr_loss = esr_loss = l1_loss(M_li, 1) + l1_loss(M_sp, -1)

Elijah-Yi commented 3 years ago

Misunderstanding