ASGuard-UCI / MSF-ADV

MSF-ADV is a novel physical-world adversarial attack method, which can fool the Multi Sensor Fusion (MSF) based autonomous driving (AD) perception in the victim autonomous vehicle (AV) to fail in detecting a front obstacle and thus crash into it. This work is accepted by IEEE S&P 2021.
https://sites.google.com/view/cav-sec/msf-adv
MIT License
73 stars 14 forks source link

AttributeError: 'attack_msf' object has no attribute 'cone_f' when running baseline.py #5

Closed ElaineYao closed 2 years ago

ElaineYao commented 2 years ago

Thanks for sharing the artifact from your IEEE S&P work.

I got the following issue: AttributeError: 'attack_msf' object has no attribute 'cone_f' when running /evaluation/baseline.py Line 233 I assume that self.cone_f should be have been defined in the code but now it's missing.

What value should I assign to self.cone_f?

Thanks

anhtu96 commented 2 years ago

Hi, I'm also facing this issue. This line of code is in rendering_img function, which is similar to the same one in attack.py. Inspecting more inside the function from attack.py I observe this render.render(self.ray_direction, self.length, self.object_v, self.object_f, self.i_final), and the one from baseline.py is render.render(ray_direction, length, vertex, face, i_final). So my guessing here is that self.cone_f should be self.object_f.

ElaineYao commented 2 years ago

It makes sense! Thank you, it works! @anhtu96

yuefeizaishi commented 1 year ago

Hello, did your baseline. py code run successfully? When the code runs to "result=differential_ When evolution (obj. rendering_img, bound, maxiter=1000, popsize=3, workers=1, disp=True, updating='deferred ') "falls into a dead loop,I tried to modify the bounds and maxiter parameters, but it still didn't work.