peikexin9 / deepxplore

DeepXplore code release
MIT License
393 stars 146 forks source link

occlusion dark spots #19

Closed rajasekharponakala closed 5 years ago

rajasekharponakala commented 5 years ago

Hi,

could you help me to get the blackout dark spots on the generated images, in the way you used in the paper (Figure 8). screenshot from 2018-11-11 02-08-26

Here is what my images look alike: bus-moccl-orig-18 bus-moccl-perturb-17

can i get the shorter dark rectangles, could you reproduce the size that we have to use for occl_size with the arg.parse(). Thanks.

peikexin9 commented 5 years ago

Sorry @rajasekharponakala, I do not quite remember the exact size. From just the look, I suspect it should be something around 5x5?

rajasekharponakala commented 5 years ago

@peikexin9: Thanks. For example, is the syntax correct? python gen_diff.py -occl_size 5x5 blackout 1 0.1 10 100 50 0

peikexin9 commented 5 years ago

@rajasekharponakala try something like -occl_size (5,5)?

rajasekharponakala commented 5 years ago

@peikexin9: As the paper discuss on domain-specific constraints, can we consider them as high-dimensional spaces, which are linear in nature and causing adversarial examples?

peikexin9 commented 5 years ago

@rajasekharponakala I would think so. There must be a space linear to these transformations that the NN should be invariant of (while it is actually not thus resulting in the adversarial example).