shikiw/SI-Adv

Output is 1/2 points of Input?

hansoogithub opened this issue · 1 comments

i ran this command
python main.py --transfer_attack_method ifgm_ours

I would like visualize the before and after the results of the point cloud attack,
inside the class function

def run(self, points, target):
# i added a code to save the input, after the adversarial attack, save the output

but i am noticing the number of points of the output reduced to 1/2 of the input

how can i get it the number of output points to be the same as the number of input points?

this picture show the input on the left and output on the right
vis

shikiw commented

Hi,

For visualization, you can refer to #1
You can use Line 81 to save 3d coordinates, or use Line 82&83 to save coordinates along with sensitive scores.
It helps you to save the point cloud data as .txt file, where each line corresponds to one point.