facebookresearch / odin

A simple and effective method for detecting out-of-distribution images in neural networks.
Other
526 stars 102 forks source link

About Input Processing #20

Open JackyLin7414 opened 2 years ago

JackyLin7414 commented 2 years ago

Hi, @YixuanLi I have a question about x˜ = x − εsign(-∇x log Syˆ(x; T)). The loss (-∇x log Syˆ(x; T)) after sign function will get number (-1, 0, 1). image

If all the image(OOD or ID) will get the same perturbation?

Thank you. Jacky