FaceOff icon indicating copy to clipboard operation
FaceOff copied to clipboard

Why the Dist. to Target grows with the epoch?

Open iDTer opened this issue 3 years ago • 2 comments

Epoch 28: Loss = -0.5512599 Dist. to Image = 0.9096553 Dist. to Target = 0.3583954 Face detection = True Epoch 29: Loss = -0.5638140 Dist. to Image = 0.9396414 Dist. to Target = 0.3758273 Face detection = True Epoch 30: Loss = -0.5764654 Dist. to Image = 0.9016970 Dist. to Target = 0.3252316 Face detection = True

heath-halle

I feel like the end result is blending the perturbation on the original face image instead of masking it directly. And I found that as the epoch increases, the perturbations appear more and more sparse.

iDTer avatar Sep 01 '22 02:09 iDTer

Yeah, this is an issue that results from RGB values being mapped between [0,1]. I think it's some issue regarding allowing an alpha to be applied to RGB values or something of that sort. I am not actively developing this so if you pin-point the specific problem, feel free to either comment here or make your own pull-request.

392781 avatar Jan 19 '23 23:01 392781

I am happy to bounce ideas back and forth with you too!

392781 avatar Jan 19 '23 23:01 392781