mahmoods01 / agns

Implementation of AGNs, proposed in: M. Sharif, S. Bhagavatula, L. Bauer, M. Reiter. "A General Framework for Adversarial Examples with Objectives." In ACM TOPS, 2019.
36 stars 6 forks source link

Varying illumination conditions #4

Closed csyuhao closed 2 years ago

csyuhao commented 4 years ago

Hi @mahmoods01 , I have a problem about the Polynomial Texture Maps approach.

In the Sec 5.2 of this paper, you write "In the forward pass of Alg. 1, before digitally attaching eyeglasses to an attacker’s image of certain luminance, we mapped the eyeglasses’ colors to match the image’s luminance". However, I can not find the code in agn_realizable_dagnn.m and agn_relizable.m.

Could you tell me the related code? thx.