Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why the Dist. to Target grows with the epoch? #12

Open
iDTer opened this issue Sep 1, 2022 · 2 comments
Open

Why the Dist. to Target grows with the epoch? #12

iDTer opened this issue Sep 1, 2022 · 2 comments

Comments

@iDTer
Copy link

iDTer commented Sep 1, 2022

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.

@392781
Copy link
Owner

392781 commented Jan 19, 2023

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
Copy link
Owner

392781 commented Jan 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants